diff --git a/src/dev-secrets/zarf.yaml b/src/dev-secrets/zarf.yaml index 6e8e30c..6011b4b 100644 --- a/src/dev-secrets/zarf.yaml +++ b/src/dev-secrets/zarf.yaml @@ -3,7 +3,6 @@ kind: ZarfPackageConfig metadata: name: dev-secrets version: "0.1.0" - architecture: amd64 components: - name: postgres-password @@ -14,7 +13,7 @@ components: - cmd: kubectl get secret -n dev-postgres postgresql --template={{.data.password}} | base64 -d mute: true setVariables: - - name: DB_PASSWORD + - name: POSTGRES_DB_PASSWORD sensitive: true - name: artifactory-postgres required: true diff --git a/src/namespace/artifactory-ns.yaml b/src/namespace/artifactory-ns.yaml new file mode 100644 index 0000000..19880da --- /dev/null +++ b/src/namespace/artifactory-ns.yaml @@ -0,0 +1,4 @@ +kind: Namespace +apiVersion: v1 +metadata: + name: artifactory diff --git a/src/namespace/zarf.yaml b/src/namespace/zarf.yaml new file mode 100644 index 0000000..c2ae6de --- /dev/null +++ b/src/namespace/zarf.yaml @@ -0,0 +1,13 @@ +kind: ZarfPackageConfig +metadata: + name: dev-namespace + description: "create namespaces for cross-ns secret functionality of pg operator" + version: 0.1.0 + +components: + - name: deploy-namespace-for-cross-ns-secret + required: true + manifests: + - name: dev-namespace + files: + - artifactory-ns.yaml