Skip to content

Commit

Permalink
fix(sql): update default connstr (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwanz authored Mar 3, 2025
1 parent 2eccc1f commit 359ba6e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions charts/opserver/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -135,12 +135,6 @@ spec:
value: "profile"
{{- end }}

- name: SQL_STATUS_SERVERNAME
valueFrom:
secretKeyRef:
name: {{ .Values.sqlExternalSecret.targetName }}
key: {{ .Values.sqlExternalSecret.remoteRefs.sqlStatusSqlServerName }}

- name: SQL_STATUS_USERNAME
valueFrom:
secretKeyRef:
@@ -153,7 +147,7 @@ spec:
key: {{ .Values.sqlExternalSecret.remoteRefs.sqlStatusPassword }}

- name: Modules__Sql__defaultConnectionString
value: "Server=$(SQL_STATUS_SERVERNAME);Database=master;User ID=$(SQL_STATUS_USERNAME);Password=$(SQL_STATUS_PASSWORD);TrustServerCertificate=True"
value: "Server=$ServerName$;Database=master;User ID=$(SQL_STATUS_USERNAME);Password=$(SQL_STATUS_PASSWORD);TrustServerCertificate=True"

{{- if hasKey .Values.opserverSettings "exceptions" }}
- name: SQL_EXCEPTIONAL_USERNAME

0 comments on commit 359ba6e

Please sign in to comment.