Skip to content

Commit a08bbfb

Browse files
committed
Fix the path of probes
Signed-off-by: zoetrope <[email protected]>
1 parent 21de760 commit a08bbfb

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

pkg/plugins/golang/v3/scaffolds/internal/templates/config/manager/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ spec:
8383
allowPrivilegeEscalation: false
8484
livenessProbe:
8585
httpGet:
86-
path: /readyz
86+
path: /healthz
8787
port: 8081
8888
initialDelaySeconds: 15
8989
periodSeconds: 20
9090
readinessProbe:
9191
httpGet:
92-
path: /healthz
92+
path: /readyz
9393
port: 8081
9494
initialDelaySeconds: 5
9595
periodSeconds: 10

testdata/project-v3-addon/config/manager/manager.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ spec:
3535
allowPrivilegeEscalation: false
3636
livenessProbe:
3737
httpGet:
38-
path: /readyz
38+
path: /healthz
3939
port: 8081
4040
initialDelaySeconds: 15
4141
periodSeconds: 20
4242
readinessProbe:
4343
httpGet:
44-
path: /healthz
44+
path: /readyz
4545
port: 8081
4646
initialDelaySeconds: 5
4747
periodSeconds: 10

testdata/project-v3-config/config/manager/manager.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ spec:
3333
allowPrivilegeEscalation: false
3434
livenessProbe:
3535
httpGet:
36-
path: /readyz
36+
path: /healthz
3737
port: 8081
3838
initialDelaySeconds: 15
3939
periodSeconds: 20
4040
readinessProbe:
4141
httpGet:
42-
path: /healthz
42+
path: /readyz
4343
port: 8081
4444
initialDelaySeconds: 5
4545
periodSeconds: 10

testdata/project-v3-multigroup/config/manager/manager.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ spec:
3535
allowPrivilegeEscalation: false
3636
livenessProbe:
3737
httpGet:
38-
path: /readyz
38+
path: /healthz
3939
port: 8081
4040
initialDelaySeconds: 15
4141
periodSeconds: 20
4242
readinessProbe:
4343
httpGet:
44-
path: /healthz
44+
path: /readyz
4545
port: 8081
4646
initialDelaySeconds: 5
4747
periodSeconds: 10

testdata/project-v3/config/manager/manager.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ spec:
3535
allowPrivilegeEscalation: false
3636
livenessProbe:
3737
httpGet:
38-
path: /readyz
38+
path: /healthz
3939
port: 8081
4040
initialDelaySeconds: 15
4141
periodSeconds: 20
4242
readinessProbe:
4343
httpGet:
44-
path: /healthz
44+
path: /readyz
4545
port: 8081
4646
initialDelaySeconds: 5
4747
periodSeconds: 10

0 commit comments

Comments
 (0)