Skip to content

Commit

Permalink
fixex
Browse files Browse the repository at this point in the history
  • Loading branch information
4rthem committed Oct 16, 2023
1 parent 484137b commit f24ddba
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/phrasea/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.6.0
version: 0.7.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
4 changes: 3 additions & 1 deletion charts/phrasea/templates/api-php-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,14 @@ spec:
name: {{ .adminOAuthClient.externalSecretName | default (printf "%s-admin-oauth-client-secret" $appName) }}
- configMapRef:
name: {{ $appName }}-api-config
{{- if and .matomo .matomo.enabled }}
{{- if .matomo }}
{{- if .matomo.enabled }}
- configMapRef:
name: matomo
- secretRef:
name: matomo
{{- end }}
{{- end }}
---
{{- end }}
{{- end }}
Expand Down
4 changes: 2 additions & 2 deletions charts/phrasea/templates/matomo/matomo-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
{{- if .matomo.enabled }}
{{- with .matomo }}
apiVersion: v1
kind: Secret
kind: ConfigMap
metadata:
name: matomo
stringData:
data:
MATOMO_BASE_URL: {{ .baseUrl | quote }}
MATOMO_SITE_ID: {{ .siteId | quote }}
{{- end }}
Expand Down
4 changes: 3 additions & 1 deletion charts/phrasea/templates/worker-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,14 @@ spec:
name: {{ .adminOAuthClient.externalSecretName | default (printf "%s-admin-oauth-client-secret" $appName) }}
- configMapRef:
name: {{ $appName }}-api-config
{{- if and .matomo .matomo.enabled }}
{{- if .matomo }}
{{- if .matomo.enabled }}
- configMapRef:
name: matomo
- secretRef:
name: matomo
{{- end }}
{{- end }}
---
{{- end }}
{{- end }}
Expand Down

0 comments on commit f24ddba

Please sign in to comment.