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

admission-webhook: Consolidate manifests #5719

Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
admission-webhook: Add named port to Service and Deployment
Signed-off-by: Yannis Zarkadas <yanniszark@arrikto.com>
  • Loading branch information
yanniszark committed Mar 19, 2021
commit 23e776ed8eeae191a2c80b1e4685f6221d75b66b
3 changes: 3 additions & 0 deletions components/admission-webhook/manifests/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ spec:
- mountPath: /etc/webhook/certs
name: webhook-cert
readOnly: true
ports:
- name: https-webhook
containerPort: 4443
volumes:
- name: webhook-cert
secret:
Expand Down
5 changes: 3 additions & 2 deletions components/admission-webhook/manifests/base/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ metadata:
name: service
spec:
ports:
- port: 443
targetPort: 4443
- name: https-webhook
port: 443
targetPort: https-webhook