-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: automate Zarf upgrades in code
- Loading branch information
Showing
6 changed files
with
107 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,4 +28,5 @@ __debug_bin | |
sboms | ||
bundle-sboms | ||
node_modules | ||
checksums.txt | ||
checksums.txt | ||
*.tape |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# current | ||
overrides: | ||
values: | ||
- path: "podinfo-component/unicorn-podinfo/podinfo.replicaCount" | ||
value: 2 | ||
valuesFiles: | ||
- path: "podinfo-component/unicorn-podinfo/values.yaml" | ||
variables: | ||
- name: UI_COLOR | ||
path: "podinfo-component/unicorn-podinfo/podinfo.ui.color" | ||
description: "Set the color for podinfo's UI" | ||
default: "blue" | ||
|
||
--- | ||
# object (component: chart: override-type) <- but don't mix kebab and camel case | ||
overrides: | ||
podinfo-component: | ||
unicorn-podinfo: | ||
values: | ||
- path: podinfo.ui.color | ||
value: blue | ||
valuesFiles: | ||
- path: values.yaml | ||
variables: | ||
- name: UI_COLOR | ||
path: podinfo.ui.color | ||
description: "Set the color for podinfo's UI" | ||
default: "blue" | ||
|
||
--- | ||
# object (override-type: component: chart) | ||
overrides: | ||
values: | ||
podinfo-component: | ||
unicorn-podinfo: | ||
- path: podinfo.ui.color | ||
value: blue | ||
valuesFiles: | ||
podinfo-component: | ||
unicorn-podinfo: | ||
- path: values.yaml | ||
variables: | ||
podinfo-component: | ||
unicorn-podinfo: | ||
- name: UI_COLOR | ||
path: podinfo.ui.color | ||
description: "Set the color for podinfo's UI" | ||
default: "blue" | ||
--- | ||
# uds-config.yaml refactor | ||
# current | ||
bundle: | ||
deploy: | ||
zarf-packages: | ||
helm: | ||
set: | ||
# overrides variables in uds-bundle.yaml | ||
UI_COLOR: green | ||
UI_MSG: "Hello Unicorn" | ||
--- | ||
# suggested | ||
deploy: | ||
omit-env-vars: true | ||
variables: | ||
helm: | ||
UI_COLOR: green | ||
UI_MSG: "Hello Unicorn" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
kind: UDSBundle | ||
metadata: | ||
name: all-the-inits | ||
description: deploys both s local and remote init packages | ||
description: deploys both local and remote init packages | ||
version: 0.0.1 | ||
|
||
# contrived bundle to test local + remote Zarf inits | ||
# cannot do uds remove on this pkg due to having the same name | ||
zarf-packages: | ||
- name: init | ||
path: "../../packages" | ||
ref: v0.31.1 | ||
# renovate: datasource=github-tags depName=defenseunicorns/zarf | ||
ref: v0.31.2 | ||
optional-components: | ||
- git-server | ||
- name: init | ||
# renovate: datasource=github-tags depName=defenseunicorns/zarf | ||
repository: ghcr.io/defenseunicorns/packages/init | ||
ref: v0.31.1 | ||
ref: v0.31.2 | ||
optional-components: | ||
- git-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters