Skip to content

Commit

Permalink
Fix port ocean secret generation fails on number as string secret (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tankilevitch authored Dec 12, 2023
1 parent 4a8de74 commit 82eb3be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/port-ocean/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: port-ocean
description: A Helm chart for Port Ocean integrations
type: application
version: 0.1.10
version: 0.1.11
appVersion: "0.1.0"
home: https://getport.io/
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/port-ocean/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ data:
{{- if .Values.integration.secrets }}
{{- range $key, $value := .Values.integration.secrets }}
OCEAN__INTEGRATION__CONFIG__{{ $key | snakecase | upper }}:
{{ if kindIs "map" $value }}{{ $value | toJson | b64enc | quote }}{{ else }}{{ $value | b64enc | quote }}{{ end }}
{{ if kindIs "map" $value }}{{ $value | toJson | b64enc | quote }}{{ else }}{{ $value | toString | b64enc | quote }}{{ end }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 82eb3be

Please sign in to comment.