Skip to content

Commit

Permalink
Chanege manager secret mount
Browse files Browse the repository at this point in the history
  • Loading branch information
ubombar committed Mar 28, 2024
1 parent 610aad1 commit 8a3f58a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ spec:
# Try to mount the secret where it is filled in the secrets/maxmind_secret.yaml
# The controller trys to read from the 1. args, 2. environment variables, 3. the secrets in this path.
- mountPath: "/var/run/secrets/edge-net.io/maxmind-secret"
name: "maxmind-secret"
readOnly: true
name: maxmind-credentials
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down Expand Up @@ -109,3 +110,7 @@ spec:
memory: 64Mi
serviceAccountName: controller-manager
terminationGracePeriodSeconds: 10
volumes:
- name: maxmind-credentials
secret:
secretName: maxmind-secret

0 comments on commit 8a3f58a

Please sign in to comment.