Skip to content

Commit

Permalink
Switch some examples to use us-sea, and add a couple more examples, f…
Browse files Browse the repository at this point in the history
…ix makefile
  • Loading branch information
tchinmai7 committed Nov 21, 2023
1 parent 1aacf5b commit d7f31c5
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ XPKG_REG_ORGS ?= xpkg.upbound.io/linode
# NOTE(hasheddan): skip promoting on xpkg.upbound.io as channel tags are
# inferred.
XPKG_REG_ORGS_NO_PROMOTE ?= xpkg.upbound.io/linode

XPKGS = $(PROJECT_NAME)
export XPKG_REG_ORGS := $(XPKG_REG_ORGS)
export XPKG_REG_ORGS_NO_PROMOTE := $(XPKG_REG_ORGS_NO_PROMOTE)

Expand Down
6 changes: 1 addition & 5 deletions examples/resources/instance/instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ spec:
image: linode/ubuntu18.04
label: simple_instance
privateIp: true
region: us-central
rootPassSecretRef:
key: example-key
name: example-secret
namespace: upbound-system
region: us-sea
swapSize: 256
tags:
- foo
Expand Down
17 changes: 17 additions & 0 deletions examples/resources/instance/simple-instance.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: instance.linode.upbound.io/v1alpha1
kind: Instance
metadata:
name: test-instance
spec:
forProvider:
image: linode/ubuntu22.04
label: provider-linode-test
authorizedKeys:
- ssh-rsa foobar.....AAAAA
privateIp: true
region: us-sea
tags:
- rke2
type: g6-standard-2
providerConfigRef:
name: default
2 changes: 1 addition & 1 deletion examples/resources/nodebalancer/nodebalancer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ spec:
forProvider:
clientConnThrottle: 20
label: mynodebalancer
region: us-east
region: us-sea
tags:
- foobar
11 changes: 11 additions & 0 deletions examples/resources/objectstorage/bucket.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: objectstorage.linode.upbound.io/v1alpha1
kind: Bucket
metadata:
name: test-bucket
deletionPolicy: Orphan
forProvider:
corsEnabled: true
label: test-bucket
cluster: us-sea-1
providerConfigRef:
name: default
13 changes: 13 additions & 0 deletions examples/resources/objectstorage/key.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
apiVersion: objectstorage.linode.upbound.io/v1alpha1
kind: Key
metadata:
name: test-registry-key
spec:
forProvider:
label: test-registry-key
providerConfigRef:
name: default
writeConnectionSecretToRef:
name: access-key
namespace: default

0 comments on commit d7f31c5

Please sign in to comment.