Skip to content

Commit 6f445f9

Browse files
committed
[operator] health checks listen on correct port
1 parent f8763db commit 6f445f9

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

control-operator/config/manager/manager.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ spec:
8080
livenessProbe:
8181
httpGet:
8282
path: /healthz
83-
port: 8081
83+
port: 9083
8484
initialDelaySeconds: 15
8585
periodSeconds: 20
8686
readinessProbe:
8787
httpGet:
8888
path: /readyz
89-
port: 8081
89+
port: 9083
9090
initialDelaySeconds: 5
9191
periodSeconds: 10
9292
# TODO(user): Configure the resources accordingly based on the project requirements.

control-operator/config/rbac/role.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ rules:
3838
- patch
3939
- update
4040
- apiGroups:
41-
- apps
41+
- ""
4242
resources:
4343
- pods
4444
verbs:

control-operator/internal/controller/task_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const taskFinalizer string = "aliecs.alice.cern/finalizer"
6363
//+kubebuilder:rbac:groups=aliecs.alice.cern,resources=tasks/status,verbs=get;update;patch
6464
//+kubebuilder:rbac:groups=aliecs.alice.cern,resources=tasks/finalizers,verbs=update
6565
//+kubebuilder:rbac:groups=core,resources=events,verbs=create;patch
66-
//+kubebuilder:rbac:groups=apps,resources=pods,verbs=get;list;watch;create;update;patch;delete
66+
//+kubebuilder:rbac:groups=core,resources=pods,verbs=get;list;watch;create;update;patch;delete
6767

6868
// Reconcile is part of the main kubernetes reconciliation loop which aims to
6969
// move the current state of the cluster closer to the desired state.

0 commit comments

Comments
 (0)