Skip to content

Commit

Permalink
Added agent tls option
Browse files Browse the repository at this point in the history
  • Loading branch information
Razz4780 committed May 14, 2024
1 parent a58da50 commit 7c071f0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions mirrord-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ spec:
- name: OPERATOR_LICENSE_PATH
value: /license/license.pem
{{- else if .Values.license.key }}
{{- if .Value.agentTls }}
- name: OPERATOR_AGENT_CONNECTION_TLS
value: "true"
{{- end }}
envFrom:
- secretRef:
name: {{ .Values.license.file.secret }}
Expand Down
6 changes: 5 additions & 1 deletion mirrord-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,8 @@ tls:
tls.crt: ""

# if you run on OpenShift, set this value to true to get a SCC in the yaml.
openshift: false
openshift: false

# If you want the operator to secure agent connections with TLS, set this value to true.
# This option requires agent version at least 3.97.0.
agentTls: false

0 comments on commit 7c071f0

Please sign in to comment.