File tree 5 files changed +23
-5
lines changed
5 files changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
2
2
name : port-agent
3
3
description : A Helm chart for Port Agent
4
4
type : application
5
- version : 0.7.11
5
+ version : 0.7.12
6
6
appVersion : " v0.7.0"
7
7
home : https://getport.io/
8
8
sources :
Original file line number Diff line number Diff line change @@ -73,8 +73,13 @@ The following table lists the configuration parameters of the `port-agent` chart
73
73
| ` nodeSelector ` | NodeSelector applied to the pod | ` {} ` |
74
74
| ` tolerations ` | Tolerations applied to the pod | ` [] ` |
75
75
| ` affinity ` | Affinity applied to the pod | ` {} ` |
76
- | ` selfSignedCertificate.enabled ` | Enable self-signed certificate trust for the integration. | ` false ` |
77
- | ` selfSignedCertificate.certificate ` | The value of the self-signed certificate (only when ` selfSignedCertificate.enabled=true ` ) | ` "" ` |
76
+ | ` selfSignedCertificate ` | Self Signed certificate for the agent | ` {} ` |
77
+ | ` selfSignedCertificate.enabled ` | Enable self-signed certificate trust for the agent | ` false ` |
78
+ | ` selfSignedCertificate.certificate ` | The value of the self-signed certificate (only when ` selfSignedCertificate.enabled=true ` ) | ` "" ` |
79
+ | ` selfSignedCertificate.secret ` | Secret with self-signed certificate | ` {} ` |
80
+ | ` selfSignedCertificate.secret.useExistingSecret ` | Enable this if you wish to use your own secret with the self-signed certificate | ` false ` |
81
+ | ` selfSignedCertificate.secret.key ` | The key in the existing self-signed certificate secret | ` crt ` |
82
+ | ` selfSignedCertificate.secret.name ` | The name of an existing secret containing the self-signed certificate | ` "" ` |
78
83
79
84
To override values in ` helm install ` , use either the ` --set ` flag or the ` --set-file ` flag to set individual values from
80
85
a file.
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 :
Original file line number Diff line number Diff line change 73
73
configMap :
74
74
name : {{ include "port-agent.fullname" . }}
75
75
{{- end }}
76
- {{- if .Values.selfSignedCertificate.enabled }}
76
+ {{- if and .Values.selfSignedCertificate.enabled .Values.selfSignedCertificate.secret.useExistingSecret }}
77
+ - name : certificates
78
+ projected :
79
+ sources :
80
+ - secret :
81
+ name : {{ .Values.selfSignedCertificate.secret.name }}
82
+ items :
83
+ - key : {{ .Values.selfSignedCertificate.secret.key }}
84
+ path : cert.crt
85
+ {{- else if .Values.selfSignedCertificate.enabled }}
77
86
- name : certificates
78
87
projected :
79
88
sources :
Original file line number Diff line number Diff line change @@ -62,3 +62,7 @@ affinity: {}
62
62
selfSignedCertificate :
63
63
enabled : false
64
64
certificate : " "
65
+ secret :
66
+ name : " "
67
+ key : crt
68
+ useExistingSecret : false
You can’t perform that action at this time.
0 commit comments