Skip to content

Commit

Permalink
feat(helm): set default log level
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Pinsel <[email protected]>
  • Loading branch information
DominikPinsel committed Aug 10, 2023
1 parent 896f31d commit b2910de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/managed-identity-wallet/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: APP_LOG_LEVEL
value: {{ .Values.miw.logging.level }}
value: {{ default .Values.miw.logging.level "INFO" }}
- name: MIW_HOST_NAME
value: {{ tpl .Values.miw.host . }}
- name: ENCRYPTION_KEY
Expand Down
4 changes: 3 additions & 1 deletion charts/managed-identity-wallet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ anchors:
database: &keyCloakPostgresDatabase "miw_keycloak"
miw:
host: &miwHost "{{ .Release.Name }}-managed-identity-wallet:8080"
# -- Runtime environment. Should be ether local, dev, int or prod
environment: &miwEnvironment dev
logging:
level: &miwLoggingLevel INFO
# -- Log Level. Should be ether ERROR, WARN, INFO, DEBUG, or TRACE. Default: INFO
level: &miwLoggingLevel ""
authorityWallet:
bpn: &authorityWalletBpn "BPNL000000000000"
did: &authorityWalletDid "did:web:{{ .Release.Name }}-managed-identity-wallet%3A8080:BPNL000000000000"
Expand Down

0 comments on commit b2910de

Please sign in to comment.