File tree 4 files changed +25
-14
lines changed
4 files changed +25
-14
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
2
2
name : port-ocean
3
3
description : A Helm chart for Port Ocean integrations
4
4
type : application
5
- version : 0.1.20
5
+ version : 0.1.21
6
6
appVersion : " 0.1.0"
7
7
home : https://getport.io/
8
8
sources :
Original file line number Diff line number Diff line change 1
- {{- if .Values.selfSignedCertificate.enabled }}
1
+ {{- if and .Values.selfSignedCertificate.enabled (not .Values.selfSignedCertificate.secret.useExistingSecret) }}
2
2
apiVersion : v1
3
3
kind : Secret
4
4
metadata :
5
5
name : {{ include "port-ocean.selfSignedCertName" . }}
6
6
type : Opaque
7
7
data :
8
8
crt : {{ .Values.selfSignedCertificate.certificate | b64enc }}
9
- {{- end }}
9
+ {{- end }}
Original file line number Diff line number Diff line change 64
64
readOnly : true
65
65
{{- end }}
66
66
volumes :
67
- {{- if .Values.selfSignedCertificate.enabled }}
67
+ {{- if and .Values.selfSignedCertificate.enabled .Values.selfSignedCertificate.secret.useExistingSecret }}
68
+ - name : certificates
69
+ projected :
70
+ sources :
71
+ - secret :
72
+ name : {{ .Values.selfSignedCertificate.secret.name }}
73
+ items :
74
+ - key : {{ .Values.selfSignedCertificate.secret.key }}
75
+ path : cert.crt
76
+ {{- else if .Values.selfSignedCertificate.enabled }}
68
77
- name : certificates
69
78
projected :
70
79
sources :
86
95
tolerations :
87
96
{{- toYaml . | nindent 8 }}
88
97
{{- end }}
89
-
Original file line number Diff line number Diff line change @@ -15,15 +15,15 @@ extraEnv:
15
15
16
16
podSecurityContext : {}
17
17
# Example
18
- # runAsGroup: 1001
19
- # runAsUser: 1001
20
- # fsGroup: 1001
21
- # fsGroupChangePolicy: "OnRootMismatch"
18
+ # runAsGroup: 1001
19
+ # runAsUser: 1001
20
+ # fsGroup: 1001
21
+ # fsGroupChangePolicy: "OnRootMismatch"
22
22
containerSecurityContext : {}
23
23
# Example
24
- # runAsGroup: 1001
25
- # runAsUser: 1001
26
- # allowPrivilegeEscalation: false
24
+ # runAsGroup: 1001
25
+ # runAsUser: 1001
26
+ # allowPrivilegeEscalation: false
27
27
28
28
rolloutStrategy : " Recreate"
29
29
@@ -35,7 +35,6 @@ resources:
35
35
memory : " 1024Mi"
36
36
cpu : " 500m"
37
37
38
-
39
38
nodeSelector : {}
40
39
41
40
tolerations : []
@@ -91,4 +90,8 @@ integration:
91
90
92
91
selfSignedCertificate :
93
92
enabled : false
94
- certificate : " "
93
+ certificate : " "
94
+ secret :
95
+ name : " "
96
+ key : crt
97
+ useExistingSecret : false
You can’t perform that action at this time.
0 commit comments