Skip to content

Commit

Permalink
Merge pull request #418 from jorgemoralespou/save-config
Browse files Browse the repository at this point in the history
Saving clusterPackages config into the cluster.
  • Loading branch information
GrahamDumpleton authored Jun 10, 2024
2 parents c7362aa + 544ba12 commit 3b3b963
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#@ load("@ytt:overlay", "overlay")
#@ load("@ytt:data", "data")
---
apiVersion: v1
kind: Namespace
metadata:
name: educates-config

---
apiVersion: v1
kind: ConfigMap
metadata:
name: educates-config
namespace: educates-config
data:
values.yaml: #@ data.values
1 change: 1 addition & 0 deletions carvel-packages/installer/bundle/config/ytt/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@
--- #@ template.replace(overlay.apply(library.get(packagePath).with_data_values(packageValues).eval(), addKappAnnotations(name, overlayedValues, orderedPackagesList)))
#@ end
#@ end
--- #@ template.replace(overlay.apply(library.get("config").with_data_values(overlayedValues).eval()))
#@ end

0 comments on commit 3b3b963

Please sign in to comment.