Skip to content

Commit

Permalink
Add webbhok CA to every service (hobbyfarm#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
jggoebel authored Jan 31, 2024
1 parent e57cb15 commit 1e54583
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 0 deletions.
8 changes: 8 additions & 0 deletions charts/hobbyfarm/templates/accesscode-service/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,16 @@ spec:
mountPath: "/etc/ssl/certs/tls.crt"
subPath: tls.crt
readOnly: true
- name: webhook-secret
mountPath: "/webhook-secret/ca.crt"
subPath: ca.crt
readOnly: true
volumes:
- name: accesscode-secret
secret:
secretName: hobbyfarm-grpc-secret
optional: false
- name: webhook-secret
secret:
secretName: hobbyfarm-webhook-secret
optional: false
8 changes: 8 additions & 0 deletions charts/hobbyfarm/templates/authn-service/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,16 @@ spec:
mountPath: "/etc/ssl/certs/tls.crt"
subPath: tls.crt
readOnly: true
- name: webhook-secret
mountPath: "/webhook-secret/ca.crt"
subPath: ca.crt
readOnly: true
volumes:
- name: authn-secret
secret:
secretName: hobbyfarm-grpc-secret
optional: false
- name: webhook-secret
secret:
secretName: hobbyfarm-webhook-secret
optional: false
8 changes: 8 additions & 0 deletions charts/hobbyfarm/templates/authr-service/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,16 @@ spec:
mountPath: "/etc/ssl/certs/tls.crt"
subPath: tls.crt
readOnly: true
- name: webhook-secret
mountPath: "/webhook-secret/ca.crt"
subPath: ca.crt
readOnly: true
volumes:
- name: authr-secret
secret:
secretName: hobbyfarm-grpc-secret
optional: false
- name: webhook-secret
secret:
secretName: hobbyfarm-webhook-secret
optional: false
8 changes: 8 additions & 0 deletions charts/hobbyfarm/templates/gargantua/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,16 @@ spec:
mountPath: "/etc/ssl/certs/tls.crt"
subPath: tls.crt
readOnly: true
- name: webhook-secret
mountPath: "/webhook-secret/ca.crt"
subPath: ca.crt
readOnly: true
volumes:
- name: auth-secret
secret:
secretName: hobbyfarm-grpc-secret
optional: false
- name: webhook-secret
secret:
secretName: hobbyfarm-webhook-secret
optional: false
8 changes: 8 additions & 0 deletions charts/hobbyfarm/templates/rbac-service/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,16 @@ spec:
mountPath: "/etc/ssl/certs/tls.crt"
subPath: tls.crt
readOnly: true
- name: webhook-secret
mountPath: "/webhook-secret/ca.crt"
subPath: ca.crt
readOnly: true
volumes:
- name: rbac-secret
secret:
secretName: hobbyfarm-grpc-secret
optional: false
- name: webhook-secret
secret:
secretName: hobbyfarm-webhook-secret
optional: false

0 comments on commit 1e54583

Please sign in to comment.