Skip to content

Commit

Permalink
Added agent tls option (#70)
Browse files Browse the repository at this point in the history
Closes #66
  • Loading branch information
Razz4780 authored May 14, 2024
1 parent 8395421 commit af8a1d7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mirrord-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.4.1
version: 1.4.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
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 .Values.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 af8a1d7

Please sign in to comment.