Skip to content

Commit

Permalink
Set correct yaml type of helm values
Browse files Browse the repository at this point in the history
Signed-off-by: Lukáš Kubín <[email protected]>
  • Loading branch information
kukacz committed Nov 14, 2023
1 parent 1a94f6e commit 8b70c85
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
16 changes: 8 additions & 8 deletions inventory/sample/group_vars/k8s_cluster/k8s-net-custom-cni.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@
# custom_cni_chart_version: ""
#
## Custom Helm values to be used for deployment
# custom_cni_chart_values: ""
# custom_cni_chart_values: {}

## OPTION 2 EXAMPLE - Cilium deployed from official public Helm chart
# custom_cni_chart_namespace: "kube-system"
# custom_cni_chart_release_name: "cilium"
# custom_cni_chart_repository_name: "cilium"
# custom_cni_chart_repository_url: "https://helm.cilium.io"
# custom_cni_chart_ref: "cilium/cilium"
# custom_cni_chart_version: "1.14.2"
# custom_cni_chart_values: |-
# custom_cni_chart_namespace: kube-system
# custom_cni_chart_release_name: cilium
# custom_cni_chart_repository_name: cilium
# custom_cni_chart_repository_url: https://helm.cilium.io
# custom_cni_chart_ref: cilium/cilium
# custom_cni_chart_version: 1.14.3
# custom_cni_chart_values:
# cluster:
# name: "cilium-demo"
2 changes: 1 addition & 1 deletion roles/network_plugin/custom_cni/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ custom_cni_chart_repository_name: ""
custom_cni_chart_repository_url: ""
custom_cni_chart_ref: ""
custom_cni_chart_version: ""
custom_cni_chart_values: ""
custom_cni_chart_values: {}
8 changes: 5 additions & 3 deletions tests/files/packet_debian12-custom-cni-helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ custom_cni_chart_namespace: kube-system
custom_cni_chart_release_name: cilium
custom_cni_chart_repository_name: cilium
custom_cni_chart_repository_url: https://helm.cilium.io
custom_cni_chart_ref: "cilium/cilium"
custom_cni_chart_version: "1.14.2"
custom_cni_chart_values: ""
custom_cni_chart_ref: cilium/cilium
custom_cni_chart_version: 1.14.3
custom_cni_chart_values:
cluster:
name: kubespray

0 comments on commit 8b70c85

Please sign in to comment.