Skip to content

Commit

Permalink
coredns probes got mixed up for kubernetes 1.26 (#6707)
Browse files Browse the repository at this point in the history
  • Loading branch information
wind0r authored Jun 21, 2023
1 parent 2811201 commit 6ac614a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions pkg/addons/default/assets/coredns-1.26.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@
"livenessProbe": {
"failureThreshold": 5,
"httpGet": {
"path": "/ready",
"port": 8181,
"path": "/health",
"port": 8080,
"scheme": "HTTP"
},
"initialDelaySeconds": 60,
Expand Down Expand Up @@ -205,8 +205,8 @@
"readinessProbe": {
"failureThreshold": 3,
"httpGet": {
"path": "/health",
"port": 8080,
"path": "/ready",
"port": 8181,
"scheme": "HTTP"
},
"periodSeconds": 10,
Expand Down Expand Up @@ -372,4 +372,4 @@
}
],
"kind": "List"
}
}
4 changes: 2 additions & 2 deletions pkg/addons/default/testdata/sample-1.22.json
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@
"livenessProbe": {
"failureThreshold": 5,
"httpGet": {
"path": "/ready",
"path": "/health",
"port": 8181,
"scheme": "HTTP"
},
Expand Down Expand Up @@ -368,7 +368,7 @@
"readinessProbe": {
"failureThreshold": 3,
"httpGet": {
"path": "/health",
"path": "/ready",
"port": 8080,
"scheme": "HTTP"
},
Expand Down
4 changes: 2 additions & 2 deletions pkg/addons/default/testdata/sample-1.25.json
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@
"livenessProbe": {
"failureThreshold": 5,
"httpGet": {
"path": "/ready",
"path": "/health",
"port": 8181,
"scheme": "HTTP"
},
Expand Down Expand Up @@ -391,7 +391,7 @@
"readinessProbe": {
"failureThreshold": 3,
"httpGet": {
"path": "/health",
"path": "/ready",
"port": 8080,
"scheme": "HTTP"
},
Expand Down

0 comments on commit 6ac614a

Please sign in to comment.