feat(common): Release version 1.3.0 (#112)

* fix(ports): Only render ports when there are ports

* fix(probes): Only render probes when there are probes

* feat(sidecars): Rename additionalContainers to sidecars

* chore(serviceMonitor): Add labels unittest
This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2023-01-31 21:23:19 +01:00 committed by GitHub
parent ac5d8422e5
commit 24f8eb5a38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 158 additions and 106 deletions

View file

@ -4,10 +4,10 @@ It will include / inject the required templates based on the given values.
*/}}
{{- define "bjw-s.common.addon.netshoot" -}}
{{- if .Values.addons.netshoot.enabled -}}
{{/* Append the netshoot container to the additionalContainers */}}
{{/* Append the netshoot container to the sidecars */}}
{{- $container := include "bjw-s.common.addon.netshoot.container" . | fromYaml -}}
{{- if $container -}}
{{- $_ := set .Values.additionalContainers "addon-netshoot" $container -}}
{{- $_ := set .Values.sidecars "addon-netshoot" $container -}}
{{- end -}}
{{- end -}}
{{- end -}}