Skip to content

Commit cbd270f

Browse files
authored
Merge pull request #25 from mbaldessari/fix-spoke
Fix spoke value file
2 parents dc31879 + f948439 commit cbd270f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ description: A Helm chart to configure Advanced Cluster Manager for OpenShift.
33
keywords:
44
- pattern
55
name: acm
6-
version: 0.1.11
6+
version: 0.1.12

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# acm
22

3-
![Version: 0.1.11](https://img.shields.io/badge/Version-0.1.11-informational?style=flat-square)
3+
![Version: 0.1.12](https://img.shields.io/badge/Version-0.1.12-informational?style=flat-square)
44

55
A Helm chart to configure Advanced Cluster Manager for OpenShift.
66

templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Default always defined valueFiles to be included when pushing the cluster wide a
2020
- '$patternref/values-{{ `{{ (lookup "config.openshift.io/v1" "Infrastructure" "" "cluster").spec.platformSpec.type }}` }}-{{ .name }}.yaml'
2121
# We cannot use $.Values.global.clusterVersion because that gets resolved to the
2222
# hub's cluster version, whereas we want to include the spoke cluster version
23-
- '$patternref/values-{{ `{{ printf "%d.%d" ((semver (index (lookup "config.openshift.io/v1" "ClusterVersion" "" "version").status.history 0).version).Major) ((semver (index (lookup "config.openshift.io/v1" "ClusterVersion" "" "version").status.history 0).version).Minor) }}` }}.yaml'
23+
- '$patternref/values-{{ `{{ printf "%d.%d" ((semver (index (lookup "config.openshift.io/v1" "ClusterVersion" "" "version").status.history 0).version).Major) ((semver (index (lookup "config.openshift.io/v1" "ClusterVersion" "" "version").status.history 0).version).Minor) }}` }}-{{ .name }}.yaml'
2424
{{- end }} {{- /*acm.app.policies.multisourcevaluefiles */}}
2525

2626
{{- define "acm.app.policies.helmparameters" -}}

0 commit comments

Comments
 (0)