Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use port 443 again, 1.6.2 #96

Merged
merged 1 commit into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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