Skip to content

Commit

Permalink
When we have no secrets, do not create external secrets in kubernetes.
Browse files Browse the repository at this point in the history
  • Loading branch information
BSick7 committed Dec 2, 2024
1 parent 6f5e3ac commit d54c530
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 0.6.18 (Dec 02, 2024)
* When we have no secrets, do not create external secrets in kubernetes.

# 0.6.17 (Mar 29, 2024)
* Added capability support for `startupProbe`, `readinessProbe`, and `livenessProbe`.

Expand Down
2 changes: 2 additions & 0 deletions secrets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ resource "kubernetes_manifest" "gsm_secret_store" {
resource "kubernetes_manifest" "secrets_from_gsm" {
depends_on = [kubernetes_manifest.gsm_secret_store]

count = signum(local.secret_keys)

manifest = {
apiVersion = "external-secrets.io/v1beta1"
kind = "ExternalSecret"
Expand Down

0 comments on commit d54c530

Please sign in to comment.