19 lines
583 B
YAML
19 lines
583 B
YAML
{{- if .Values.artifactory.migration.enabled }}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ template "artifactory-ha.fullname" . }}-migration-scripts
|
|
labels:
|
|
app: {{ template "artifactory-ha.name" . }}
|
|
chart: {{ template "artifactory-ha.chart" . }}
|
|
heritage: {{ .Release.Service }}
|
|
release: {{ .Release.Name }}
|
|
data:
|
|
migrate.sh: |
|
|
{{ .Files.Get "files/migrate.sh" | indent 4 }}
|
|
migrationHelmInfo.yaml: |
|
|
{{ .Files.Get "files/migrationHelmInfo.yaml" | indent 4 }}
|
|
migrationStatus.sh: |
|
|
{{ .Files.Get "files/migrationStatus.sh" | indent 4 }}
|
|
{{- end }}
|