Skip to content

Commit

Permalink
Remove YAML anchors
Browse files Browse the repository at this point in the history
  • Loading branch information
davidspek committed Jun 23, 2021
1 parent 2110f33 commit a605611
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions config/core/deployments/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ spec:
- name: https-webhook
containerPort: 8443

readinessProbe: &probe
readinessProbe:
periodSeconds: 1
httpGet:
scheme: HTTPS
Expand All @@ -106,7 +106,13 @@ spec:
- name: k-kubelet-probe
value: "webhook"
livenessProbe:
<<: *probe
periodSeconds: 1
httpGet:
scheme: HTTPS
port: 8443
httpHeaders:
- name: k-kubelet-probe
value: "webhook"
failureThreshold: 6
initialDelaySeconds: 20

Expand Down
10 changes: 8 additions & 2 deletions config/domain-mapping/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ spec:
- name: https-webhook
containerPort: 8443

readinessProbe: &probe
readinessProbe:
periodSeconds: 1
httpGet:
scheme: HTTPS
Expand All @@ -104,7 +104,13 @@ spec:
- name: k-kubelet-probe
value: "webhook"
livenessProbe:
<<: *probe
periodSeconds: 1
httpGet:
scheme: HTTPS
port: 8443
httpHeaders:
- name: k-kubelet-probe
value: "webhook"
failureThreshold: 6
initialDelaySeconds: 20

Expand Down

0 comments on commit a605611

Please sign in to comment.