Skip to content

Commit

Permalink
use sysctl instead of capability because of k8s limitation, 1.6.3 (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
aviramha authored Aug 5, 2024
1 parent 296c051 commit ebb1604
Show file tree
Hide file tree
Showing 2 changed files with 4 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.2
version: 1.6.3

# 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
7 changes: 3 additions & 4 deletions mirrord-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,9 @@ spec:
securityContext:
allowPrivilegeEscalation: false
privileged: false
capabilities:
# allow 443 port binding
add:
- "NET_BIND_SERVICE"
sysctls:
- name: net.ipv4.ip_unprivileged_port_start
value: "443"
volumeMounts:
{{- if or (index .Values.tls.data "tls.key") .Values.tls.certManager.enabled }}
- mountPath: /tls
Expand Down

0 comments on commit ebb1604

Please sign in to comment.