mirror of https://git.rancher.io/charts
18 lines
494 B
YAML
18 lines
494 B
YAML
{{ include "winsUpgrader.validatePathPrefix" . }}
|
|
{{- range .Values.winsConfigs }}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ template "winsUpgrader.name" $ }}-{{ .name }}
|
|
namespace: {{ template "winsUpgrader.namespace" $ }}
|
|
labels: {{ include "winsUpgrader.labels" $ | nindent 4 }}
|
|
data:
|
|
config: |-
|
|
{{ tpl .config $ | indent 4 }}
|
|
upgrade.ps1: |-
|
|
{{ $.Files.Get "scripts/upgrade.ps1" | indent 4 }}
|
|
noop.ps1: |-
|
|
{{ $.Files.Get "scripts/noop.ps1" | indent 4 }}
|
|
---
|
|
{{- end }}
|