Skip to content

Commit

Permalink
Update dependency kube-vip/helm-charts to v0.6.2 (#181)
Browse files Browse the repository at this point in the history
* Update dependency kube-vip/helm-charts to v0.6.2

* run make all

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: xavier <[email protected]>
  • Loading branch information
renovate[bot] and vxav authored Oct 11, 2024
1 parent 6253514 commit dafd1ab
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- Add Renovate to track new tags.
- Update `kube-vip` helm chart to `0.6.2`.

## [1.11.0] - 2024-08-12

Expand Down
2 changes: 1 addition & 1 deletion config/kube-vip/overwrites/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
#* This is the upstream chart version which is released as a specific tag in the same repo as `kube-vip-cloud-provider`.
#* Renovate below watches releases that match `kube-vip-x.y.z`.
# renovate-kube-vip: kube-vip/helm-charts
version: 0.6.1
version: 0.6.2

#* This is the app's version of the application being deployed.
#* It overwrites the value of the upstream chart above which isn't well maintained.
Expand Down
6 changes: 3 additions & 3 deletions helm/cloud-provider-vsphere/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
version: 1.11.0
appVersion: 1.11.0
version: 1.12.0
appVersion: 1.12.0
name: cloud-provider-vsphere
description: A Helm chart for cloud-provider-vsphere with CPI and CSI
engine: gotpl
Expand All @@ -22,7 +22,7 @@ dependencies:
version: 3.3.0
- name: kube-vip
# renovate-kube-vip: kube-vip/helm-charts
version: 0.6.1
version: 0.6.2
condition: kube-vip.enabled
- name: kube-vip-cloud-provider
# renovate-kube-vip-cloud-provider: kube-vip/helm-charts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
2 changes: 1 addition & 1 deletion helm/cloud-provider-vsphere/charts/kube-vip/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
#* This is the upstream chart version which is released as a specific tag in the same repo as `kube-vip-cloud-provider`.
#* Renovate below watches releases that match `kube-vip-x.y.z`.
# renovate-kube-vip: kube-vip/helm-charts
version: 0.6.1
version: 0.6.2

#* This is the app's version of the application being deployed.
#* It overwrites the value of the upstream chart above which isn't well maintained.
Expand Down
17 changes: 17 additions & 0 deletions helm/cloud-provider-vsphere/charts/kube-vip/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,20 @@ Create the name of the service account to use
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}

{{/*
Convert string to boolean
*/}}
{{- define "kube-vip.toBool" -}}
{{- if eq (lower (toString .)) "true" -}}
{{- true -}}
{{- else if eq (lower (toString .)) "false" -}}
{{- false -}}
{{- else if eq (lower (toString .)) "1" -}}
{{- true -}}
{{- else if eq (lower (toString .)) "0" -}}
{{- false -}}
{{- else -}}
{{- default . false -}}
{{- end -}}
{{- end -}}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
{{- end }}
{{- end }}
env:
{{- if eq .Values.env.cp_enable "true" }}
{{- if eq (include "kube-vip.toBool" .Values.env.cp_enable) "true" }}
- name: vip_address
value: {{ required "A valid config.address required!" .Values.config.address}}
{{- end }}
Expand Down

0 comments on commit dafd1ab

Please sign in to comment.