Skip to content

Commit

Permalink
use port 443 again, 1.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
aviramha committed Aug 5, 2024
1 parent 5431516 commit 050034c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
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.6.1
version: 1.6.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
12 changes: 8 additions & 4 deletions mirrord-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
- name: RUST_LOG
value: mirrord=info,operator=info
- name: OPERATOR_ADDR
value: 0.0.0.0:3000
value: 0.0.0.0:443
- name: OPERATOR_NAMESPACE
value: {{ .Values.namespace }}
- name: OPERATOR_SERVICE_NAME
Expand Down Expand Up @@ -88,17 +88,17 @@ spec:
livenessProbe:
httpGet:
path: /health
port: 3000
port: 443
scheme: HTTPS
periodSeconds: 5
name: mirrord-operator
ports:
- containerPort: 3000
- containerPort: 443
name: https
readinessProbe:
httpGet:
path: /health
port: 3000
port: 443
scheme: HTTPS
periodSeconds: 5
resources:
Expand All @@ -111,6 +111,10 @@ spec:
securityContext:
allowPrivilegeEscalation: false
privileged: false
capabilities:
# allow 443 port binding
add:
- "NET_BIND_SERVICE"
volumeMounts:
{{- if or (index .Values.tls.data "tls.key") .Values.tls.certManager.enabled }}
- mountPath: /tls
Expand Down

0 comments on commit 050034c

Please sign in to comment.