Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate tf from bw password to bw secret manager #3058

Merged
merged 4 commits into from
Oct 9, 2024

Conversation

joryirving
Copy link
Owner

No description provided.

@github-actions github-actions bot added area/kubernetes Changes made in the kubernetes directory cluster/main labels Oct 9, 2024
@smurf-bot
Copy link
Contributor

smurf-bot bot commented Oct 9, 2024

--- kubernetes/main/apps/database/crunchy-postgres/cluster Kustomization: flux-system/crunchy-postgres-operator-cluster ExternalSecret: database/crunchy-pgo-secret

+++ kubernetes/main/apps/database/crunchy-postgres/cluster Kustomization: flux-system/crunchy-postgres-operator-cluster ExternalSecret: database/crunchy-pgo-secret

@@ -11,12 +11,14 @@

 spec:
   dataFrom:
   - extract:
       key: cloudflare
   - extract:
       key: crunchy-pgo
+  - extract:
+      key: postgresql-bucket
   refreshInterval: 15m
   secretStoreRef:
     kind: ClusterSecretStore
     name: bitwarden-secrets-manager
   target:
     name: crunchy-pgo-secret
@@ -25,12 +27,12 @@

         encryption.conf: |
           [global]
           repo1-cipher-pass={{ .CRUNCHY_PGO_CIPHER_PASS }}
           repo2-cipher-pass={{ .CRUNCHY_PGO_CIPHER_PASS }}
         s3.conf: |
           [global]
-          repo1-s3-key={{ .MINIO_ACCESS_KEY }}
-          repo1-s3-key-secret={{ .MINIO_SECRET_KEY }}
+          repo1-s3-key={{ .AWS_ACCESS_KEY_ID }}
+          repo1-s3-key-secret={{ .AWS_SECRET_ACCESS_KEY }}
           repo2-s3-key={{ .R2_ACCESS_KEY_ID }}
           repo2-s3-key-secret={{ .R2_SECRET_ACCESS_KEY }}
       engineVersion: v2
 

@joryirving joryirving merged commit ce44698 into main Oct 9, 2024
9 checks passed
@joryirving joryirving deleted the feat/bitwarden-tf-provider branch October 9, 2024 19:29
joryirving added a commit that referenced this pull request Oct 9, 2024
* feat: migrate to BW Secret Manager

* feat: refactor modules to reduce spread

* fix: update values

* feat: update creds for cpgo
joryirving added a commit that referenced this pull request Oct 9, 2024
* feat: migrate to BW Secret Manager

* feat: refactor modules to reduce spread

* fix: update values

* feat: update creds for cpgo
joryirving added a commit that referenced this pull request Oct 9, 2024
* feat: migrate to BW Secret Manager

* feat: refactor modules to reduce spread

* fix: update values

* feat: update creds for cpgo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubernetes Changes made in the kubernetes directory area/terraform cluster/main
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant