Skip to content

Commit

Permalink
Fix statefulset pvc
Browse files Browse the repository at this point in the history
  • Loading branch information
mhoshi-vm committed Dec 24, 2024
1 parent afa2f46 commit b7f4763
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ stringData:
#@ load("@ytt:base64", "base64")
#@ load("@ytt:yaml", "yaml")
#@ def xsmall():
#@ def create_namespace_false():
#@overlay/match missing_ok=True
createNamespace: false
#@ end
#@overlay/match by=overlay.subset({"kind":"Secret", "metadata": {"name": "tmc-values"}})
---
data:
#@overlay/replace via=lambda orig, _: base64.encode(yaml.encode(overlay.apply(yaml.decode(base64.decode(orig)),xsmall())))
#@overlay/replace via=lambda orig, _: base64.encode(yaml.encode(overlay.apply(yaml.decode(base64.decode(orig)),create_namespace_false())))
values.yaml:

0 comments on commit b7f4763

Please sign in to comment.