From c6357010623e1b0e296a96e0a3a7660e7c0061f0 Mon Sep 17 00:00:00 2001 From: Michael-Kruggel Date: Wed, 8 May 2024 20:36:59 +0000 Subject: [PATCH] fax maybe --- src/dev-secrets/zarf.yaml | 3 +-- src/namespace/artifactory-ns.yaml | 4 ++++ src/namespace/zarf.yaml | 13 +++++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 src/namespace/artifactory-ns.yaml create mode 100644 src/namespace/zarf.yaml 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