디렉토리 구조 및 각 서비스 추가
This commit is contained in:
14
helm/sonarqube/templates/init-fs.yaml
Normal file
14
helm/sonarqube/templates/init-fs.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ template "sonarqube.fullname" . }}-init-fs
|
||||
labels:
|
||||
app: {{ template "sonarqube.name" . }}
|
||||
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
data:
|
||||
init_fs.sh: |-
|
||||
{{- if .Values.persistence.enabled }}
|
||||
chown -R {{ .Values.persistence.uid }}: {{ .Values.sonarqubeFolder }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user