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 8395421 commit 2d51a8f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mirrord-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,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
4 changes: 4 additions & 0 deletions mirrord-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,7 @@ tls:

# if you run on OpenShift, set this value to true to get a SCC in the yaml.
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 2d51a8f

Please sign in to comment.