Skip to content

Commit

Permalink
Refactor initFs logic
Browse files Browse the repository at this point in the history
  • Loading branch information
carminevassallo committed Oct 4, 2024
1 parent bc1bbe4 commit 2badb76
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions charts/sonarqube/templates/init-fs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@ data:
chown -R {{ .Values.persistence.uid }}:{{ .Values.persistence.guid }} {{ .Values.sonarqubeFolder }}/data
chown -R {{ .Values.persistence.uid }}:{{ .Values.persistence.guid }} {{ .Values.sonarqubeFolder }}/temp
chown -R {{ .Values.persistence.uid }}:{{ .Values.persistence.guid }} {{ .Values.sonarqubeFolder }}/logs
{{- if .Values.plugins.install }}
chown -R {{ .Values.persistence.uid }}:{{ .Values.persistence.guid }} {{ .Values.sonarqubeFolder }}/extensions/plugins
{{- end }}
{{- if .Values.jdbcOverwrite.oracleJdbcDriverURL }}
chown -R {{ .Values.persistence.uid }}:{{ .Values.persistence.guid }} {{ .Values.sonarqubeFolder }}/extensions/jdbc-driver/oracle
{{- if or .Values.plugins.install .Values.jdbcOverwrite.oracleJdbcDriverURL }}
chown -R {{ .Values.persistence.uid }}:{{ .Values.persistence.guid }} {{ .Values.sonarqubeFolder }}/extensions
{{- end }}
{{- if .Values.caCerts.enabled }}
chown -R {{ .Values.persistence.uid }}:{{ .Values.persistence.guid }} {{ .Values.sonarqubeFolder }}/certs
Expand Down

0 comments on commit 2badb76

Please sign in to comment.