Skip to content

Commit

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

# 0.6.18 (Dec 02, 2024)
* When we have no secrets, do not create external secrets in kubernetes.

Expand Down
2 changes: 1 addition & 1 deletion secrets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ resource "kubernetes_manifest" "gsm_secret_store" {
resource "kubernetes_manifest" "secrets_from_gsm" {
depends_on = [kubernetes_manifest.gsm_secret_store]

count = signum(local.secret_keys)
count = signum(length(local.secret_keys))

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

0 comments on commit a1617f4

Please sign in to comment.