Skip to content

Commit

Permalink
nil pointer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maracle6 committed Dec 21, 2023
1 parent 4fcb06e commit f0515d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charts/pega/templates/pega-srs-auth-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{- if and (.Values.pegasearch.externalSearchService) ((.Values.pegasearch.srsAuth).enabled) (not (default .Values.pegasearch.srsAuth.external_secret_name "")) }}
{{- if and (.Values.pegasearch.externalSearchService) ((.Values.pegasearch.srsAuth).enabled) }}
{{- if not .Values.pegasearch.srsAuth.external_secret_name }}
# Secret for OAuth private key used to get an authorization token for Pega Infinity connection to Search and Reporting Service
apiVersion: v1
kind: Secret
Expand All @@ -9,3 +10,4 @@ type: Opaque
data:
privateKey: {{ template "srsAuthPrivateKey" . }}
{{- end }}
{{- end }}

0 comments on commit f0515d2

Please sign in to comment.