Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dkeightley committed Oct 2, 2024
1 parent e1b2e67 commit c82fb7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions instructors/lab-deployments/instructor-notes.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## Lab 1 webhook

- webhook is deployed with several issues
1. livenes probe is failing
2. wrong port defined in the service
1. livenes probe is failing, wrong port used in liveness probe
2. service has wrong selector
3. (bonus round) ca.cert is not trusted - ca is available in the webhook pod and can be added to the webhook configuration base64 under `caBundle`

## Lab 2 network issues
Expand Down
4 changes: 2 additions & 2 deletions instructors/lab-deployments/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ metadata:
namespace: webhook-system
spec:
selector:
app: validating-webhook
app: some-webhook
ports:
- port: 443
targetPort: 8443
targetPort: 443
---
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
Expand Down

0 comments on commit c82fb7d

Please sign in to comment.