-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat(terraform): refactor so I can plan in GHA #3173
Conversation
--- kubernetes/utility/apps/flux-system/tofu-controller/app Kustomization: flux-system/tofu-controller ExternalSecret: flux-system/terraform-authentik-secret
+++ kubernetes/utility/apps/flux-system/tofu-controller/app Kustomization: flux-system/tofu-controller ExternalSecret: flux-system/terraform-authentik-secret
@@ -1,58 +0,0 @@
----
-apiVersion: external-secrets.io/v1beta1
-kind: ExternalSecret
-metadata:
- labels:
- app.kubernetes.io/name: tofu-controller
- kustomize.toolkit.fluxcd.io/name: tofu-controller
- kustomize.toolkit.fluxcd.io/namespace: flux-system
- name: terraform-authentik-secret
- namespace: flux-system
-spec:
- dataFrom:
- - extract:
- key: authentik
- - extract:
- key: discord
- - extract:
- key: kyoo
- - extract:
- key: lubelog
- - extract:
- key: grafana
- - extract:
- key: headscale
- - extract:
- key: paperless
- - extract:
- key: portainer
- - extract:
- key: weave-gitops
- refreshInterval: 15m
- secretStoreRef:
- kind: ClusterSecretStore
- name: bitwarden-secrets-manager
- target:
- name: terraform-authentik-secret
- template:
- data:
- authentik_token: '{{ .AUTHENTIK_TOKEN }}'
- cluster_domain: ..PLACEHOLDER_SECRET_DOMAIN..
- discord_client_id: '{{ .DISCORD_CLIENT_ID }}'
- discord_client_secret: '{{ .DISCORD_CLIENT_SECRET }}'
- gitops_id: '{{ .GITOPS_CLIENT_ID }}'
- gitops_secret: '{{ .GITOPS_CLIENT_SECRET }}'
- grafana_id: '{{ .GRAFANA_CLIENT_ID }}'
- grafana_secret: '{{ .GRAFANA_CLIENT_SECRET }}'
- headscale_id: '{{ .HEADSCALE_CLIENT_ID }}'
- headscale_secret: '{{ .HEADSCALE_CLIENT_SECRET }}'
- kyoo_id: '{{ .KYOO_CLIENT_ID }}'
- kyoo_secret: '{{ .KYOO_CLIENT_SECRET }}'
- lubelog_id: '{{ .LUBELOG_CLIENT_ID }}'
- lubelog_secret: '{{ .LUBELOG_CLIENT_SECRET }}'
- paperless_id: '{{ .PAPERLESS_CLIENT_ID }}'
- paperless_secret: '{{ .PAPERLESS_CLIENT_SECRET }}'
- portainer_id: '{{ .PORTAINER_CLIENT_ID }}'
- portainer_secret: '{{ .PORTAINER_CLIENT_SECRET }}'
- engineVersion: v2
-
--- kubernetes/utility/apps/flux-system/tofu-controller/terraform Kustomization: flux-system/tofu-controller-terraforms Terraform: flux-system/authentik
+++ kubernetes/utility/apps/flux-system/tofu-controller/terraform Kustomization: flux-system/tofu-controller-terraforms Terraform: flux-system/authentik
@@ -32,8 +32,8 @@
sourceRef:
kind: OCIRepository
name: terraform
namespace: flux-system
varsFrom:
- kind: Secret
- name: terraform-authentik-secret
+ name: terraform-bitwarden-secret
--- kubernetes/utility/apps/flux-system/tofu-controller/terraform Kustomization: flux-system/tofu-controller-terraforms Terraform: flux-system/minio
+++ kubernetes/utility/apps/flux-system/tofu-controller/terraform Kustomization: flux-system/tofu-controller-terraforms Terraform: flux-system/minio
@@ -32,8 +32,8 @@
sourceRef:
kind: OCIRepository
name: terraform
namespace: flux-system
varsFrom:
- kind: Secret
- name: terraform-minio-secret
+ name: terraform-bitwarden-secret
|
📝 Terraform Plan for minio→ No Resource Changes! Triggered by @joryirving, Commit: |
📝 Terraform Plan for authentik→ Resource Changes: 18 to create, 2 to update, 0 to re-create, 21 to delete. ✨ Create
|
No description provided.