Skip to content

Commit

Permalink
fix(naming): set other naming
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Haar <christopher.haar@upbound.io>
  • Loading branch information
haarchri committed Feb 18, 2024
1 parent b516233 commit 0fa8b63
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions examples/app-claim.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
apiVersion: platform.upbound.io/v1alpha1
kind: App
metadata:
name: platform-ref-azure-ghost
name: platform-ref-azure-cluster-ghost
namespace: default
labels:
platform.upbound.io/deletion-ordering: enabled
spec:
compositeDeletePolicy: Foreground
parameters:
providerConfigName: platform-ref-azure
providerConfigName: platform-ref-azure-cluster
passwordSecretRef:
namespace: default
name: platform-ref-azure-db-conn-mariadb
name: platform-ref-azure-cluster-db-conn-mariadb
writeConnectionSecretToRef:
name: platform-ref-azure-app-conn
name: platform-ref-azure-cluster-app-conn
6 changes: 3 additions & 3 deletions examples/cluster-claim.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apiVersion: azure.platformref.upbound.io/v1alpha1
kind: Cluster
metadata:
name: platform-ref-azure
name: platform-ref-azure-cluster
namespace: default
spec:
compositeDeletePolicy: Foreground
parameters:
id: platform-ref-azure
id: platform-ref-azure-cluster
region: westus
version: "1.27.3"
nodes:
Expand All @@ -22,4 +22,4 @@ spec:
# refs/merge-requests/1/head
name: refs/heads/main
writeConnectionSecretToRef:
name: platform-ref-azure-kubeconfig
name: platform-ref-azure-cluster-kubeconfig
6 changes: 3 additions & 3 deletions examples/mariadb-claim.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: azure.platform.upbound.io/v1alpha1
kind: SQLInstance
metadata:
name: platform-ref-azure-db-mariadb
name: platform-ref-azure-cluster-db-mariadb
namespace: default
spec:
compositionSelector:
Expand All @@ -16,9 +16,9 @@ spec:
name: mariadbsecret
key: password
networkRef:
id: platform-ref-azure #This field must match the cluster XR spec.id
id: platform-ref-azure-cluster #This field must match the cluster XR spec.parameters.id
writeConnectionSecretToRef:
name: platform-ref-azure-db-conn-mariadb #Must be unique for each instance
name: platform-ref-azure-cluster-db-conn-mariadb #Must be unique for each instance
---
apiVersion: v1
data:
Expand Down
6 changes: 3 additions & 3 deletions examples/postgres-claim.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: azure.platform.upbound.io/v1alpha1
kind: SQLInstance
metadata:
name: platform-ref-azure-db-postgresql
name: platform-ref-azure-cluster-db-postgresql
namespace: default
spec:
compositionSelector:
Expand All @@ -16,9 +16,9 @@ spec:
name: psqlsecret
key: password
networkRef:
id: platform-ref-azure #This field must match the cluster XR spec.id
id: platform-ref-azure-cluster #This field must match the cluster XR spec.parameters.id
writeConnectionSecretToRef:
name: platform-ref-azure-db-conn-postgresql #Must be unique for each instance
name: platform-ref-azure-cluster-db-conn-postgresql #Must be unique for each instance
---
apiVersion: v1
data:
Expand Down

0 comments on commit 0fa8b63

Please sign in to comment.