From 050034cb5d44719e6d6d0963d5faede102e62d46 Mon Sep 17 00:00:00 2001 From: Aviram Hassan Date: Mon, 5 Aug 2024 10:56:31 +0300 Subject: [PATCH] use port 443 again, 1.6.2 --- mirrord-operator/Chart.yaml | 2 +- mirrord-operator/templates/deployment.yaml | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/mirrord-operator/Chart.yaml b/mirrord-operator/Chart.yaml index 3065aa4..4987ba0 100644 --- a/mirrord-operator/Chart.yaml +++ b/mirrord-operator/Chart.yaml @@ -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 diff --git a/mirrord-operator/templates/deployment.yaml b/mirrord-operator/templates/deployment.yaml index b01a3ac..350aaf3 100644 --- a/mirrord-operator/templates/deployment.yaml +++ b/mirrord-operator/templates/deployment.yaml @@ -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 @@ -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: @@ -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