Skip to content

Commit

Permalink
Move to within SQL if
Browse files Browse the repository at this point in the history
  • Loading branch information
WouterDeKort committed Nov 4, 2024
1 parent f9f834e commit 3483192
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/opserver/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ spec:
name: {{ .Values.sqlExternalSecret.targetName }}
key: exceptionalPassword

- name: EXCEPTIONAL__STORE__CONNECTIONSTRING
value: Server=$(SQL_EXCEPTIONAL_SERVERNAME),1433;Database={{ .Values.db.exceptionalDbName }};Persist Security Info=False;User ID=$(SQL_EXCEPTIONAL_USERNAME);Password=$(SQL_EXCEPTIONAL_PASSWORD);MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=True;Connection Timeout=30;MultiSubnetFailover=True

- name: Security__Provider
value: {{ .Values.opserverSettings.security.provider }}

Expand Down Expand Up @@ -164,6 +161,9 @@ spec:
- name: Modules__Sql__instances__{{ $i }}__name
value: "{{ $instance.name }}"
{{- end }}

- name: EXCEPTIONAL__STORE__CONNECTIONSTRING
value: Server=$(SQL_EXCEPTIONAL_SERVERNAME),1433;Database={{ .Values.db.exceptionalDbName }};Persist Security Info=False;User ID=$(SQL_EXCEPTIONAL_USERNAME);Password=$(SQL_EXCEPTIONAL_PASSWORD);MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=True;Connection Timeout=30;MultiSubnetFailover=True
{{- end }}

{{- if hasKey .Values.opserverSettings "exceptions" }}
Expand Down

0 comments on commit 3483192

Please sign in to comment.