-
Notifications
You must be signed in to change notification settings - Fork 266
cert-job POD failing while installing HELM charts #463
Comments
system:serviceaccount:flink-operator-system:default" cannot get resource "secrets" in API group "" in the namespace "flink-operator-system it looks like the “seriveaccount” has not be created correctly. |
but are using the default service account. |
$ kubectl get sa default -n flink-operator-system -o yaml
we are using the below command to install helm3 install ddp-faas flink-operator-repo/flink-operator --set operatorImage.name=gcr.io/flink-operator/flink-operator:latest -n sumit-test |
we could install it after updating role and rolebinding but in pod logs, we are getting below
describe pod shows the flink operator started. `Events: Normal Scheduled Successfully assigned flink-operator-system/flink-operator-controller-manager-848b69b444-jhvtz to 10.148.145.111 |
NAME READY STATUS RESTARTS AGE cert-job-ld89n 0/1 Error 0 12m
+ kubectl create secret generic webhook-server-cert --from-file=tls.key=/tmp/tmp.aMgt0HWzSq/server-key.pem --from-file=tls.crt=/tmp/tmp.aMgt0HWzSq/server-cert.pem --dry-run -o yaml Error from server (Forbidden): error when retrieving current configuration of: Resource: "/v1, Resource=secrets", GroupVersionKind: "/v1, Kind=Secret" Name: "webhook-server-cert", Namespace: "flink-operator-system"
"kind":"Secret" "metadata":map["annotations":map["kubectl.kubernetes.io/last-applied-configuration":""] "creationTimestamp":<nil> "name":"webhook-server-cert" "namespace":"flink-operator-system"]]} from server for: "STDIN": secrets "webhook-server-cert" is forbidden: User "system:serviceaccount:flink-operator-system:default" cannot get resource "secrets" in API group "" in the namespace "flink-operator-system"
please let us know whats need to be done in. order to resolve this issue
The text was updated successfully, but these errors were encountered: