Skip to content

Commit

Permalink
feat(atlantis): add external secret for terraform-gworkspace age key
Browse files Browse the repository at this point in the history
  • Loading branch information
tyriis committed Dec 27, 2023
1 parent 5f8ccf8 commit 30be24b
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.minuette.horse/external-secrets.io/externalsecret_v1beta1.json
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: &name terraform-gworkspace
spec:
refreshInterval: 1m
secretStoreRef:
name: vault-backend
kind: ClusterSecretStore
target:
name: *name
creationPolicy: Owner
data:
- secretKey: keys.txt
remoteRef:
key: infra/techtales/terraform-gworkspace
property: age
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ resources:
- ./secret.sops.yaml
- ./helm-release.yaml
- ./ingress.yaml
- ./external-secret.yaml
commonLabels:
app.kubernetes.io/name: atlantis
app.kubernetes.io/instance: atlantis
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ spec:
- name: apps-cert-manager
- name: apps-rook-ceph-cluster
- name: apps-traefik-forward-auth
- name: apps-external-secrets

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1beta2.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.minuette.horse/external-secrets.io/clustersecretstore_v1beta1.json
apiVersion: external-secrets.io/v1beta1
kind: ClusterSecretStore
metadata:
Expand Down

0 comments on commit 30be24b

Please sign in to comment.