diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 87f67ea..045cc07 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -50,6 +50,7 @@ spec: httpGet: path: /healthz port: healthz + serviceAccountName: controller-manager terminationGracePeriodSeconds: 10 tolerations: - effect: NoSchedule diff --git a/config/rbac/kustomization.yaml b/config/rbac/kustomization.yaml index 439c501..d548f42 100644 --- a/config/rbac/kustomization.yaml +++ b/config/rbac/kustomization.yaml @@ -7,5 +7,6 @@ resources: #! - service_account.yaml - role.yaml - role_binding.yaml +- service_account.yaml - leader_election_role.yaml - leader_election_role_binding.yaml diff --git a/config/rbac/role_binding.yaml b/config/rbac/role_binding.yaml index 8f26587..2070ede 100644 --- a/config/rbac/role_binding.yaml +++ b/config/rbac/role_binding.yaml @@ -8,5 +8,5 @@ roleRef: name: manager-role subjects: - kind: ServiceAccount - name: default + name: controller-manager namespace: system