mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 04:06:55 -06:00
Upgrade path working for Helm 3.1.0 and 4.1.0 to version 4.2.0
This commit is contained in:
@@ -3,9 +3,7 @@
|
||||
# and applies various things like initContainers, nginx mainConf, etc
|
||||
# to enable the artifactory-ha helm chart to work in an openshift environment
|
||||
artifactory-ha:
|
||||
###################################
|
||||
# EDIT TO YOUR DB CONFIGURATION
|
||||
###################################
|
||||
databaseUpgradeReady: true
|
||||
database:
|
||||
type: "OVERRIDE"
|
||||
driver: "OVERRIDE"
|
||||
@@ -28,6 +26,20 @@ artifactory-ha:
|
||||
enabled: false
|
||||
masterKey: "OVERRIDE"
|
||||
joinKey: "OVERRIDE"
|
||||
customInitContainersBegin: |
|
||||
- name: "prepare-uid-persistent-volume"
|
||||
image: "{{ .Values.initContainerImage }}"
|
||||
imagePullPolicy: "{{ .Values.artifactory.image.pullPolicy }}"
|
||||
command:
|
||||
- 'sh'
|
||||
- '-c'
|
||||
- >
|
||||
chown -Rv {{ .Values.artifactory.uid }}:{{ .Values.artifactory.uid }} {{ .Values.artifactory.persistence.mountPath }}
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
volumeMounts:
|
||||
- mountPath: "{{ .Values.artifactory.persistence.mountPath }}"
|
||||
name: volume
|
||||
postgresql:
|
||||
enabled: false
|
||||
nginx:
|
||||
|
||||
Reference in New Issue
Block a user