Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k8gb controller's pid fails to start correctly when deployed by OLM #757

Closed
jkremser opened this issue Nov 19, 2021 · 1 comment · Fixed by #758
Closed

k8gb controller's pid fails to start correctly when deployed by OLM #757

jkremser opened this issue Nov 19, 2021 · 1 comment · Fixed by #758
Milestone

Comments

@jkremser
Copy link
Member

repro steps:

k3d cluster create -c k3d/test-gslb1.yaml
curl -sL https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.19.1/install.sh | bash -s v0.19.1
kubectl create -f https://operatorhub.io/install/k8gb.yaml
kubectl get pods -n operators
NAME                            READY   STATUS                       RESTARTS   AGE
k8gb-566cd87ddc-xhrzf           0/1     CreateContainerConfigError   0          3m52s
k8gb-coredns-755bb648dc-stgs4   1/1     Running
kubectl describe pod k8gb-566cd87ddc-xhrzf -n operators
...
  Warning  Failed     3m54s (x12 over 6m9s)  kubelet            Error: container has runAsNonRoot and image has non-numeric user (nonroot), cannot verify user is non-root (pod: "k8gb-566cd87ddc-xhrzf_operators(ba777db9-dca3-4924-a485-f8b9eeeda398)", container: k8gb)
jkremser added a commit to jkremser/k8gb that referenced this issue Nov 19, 2021
@jkremser
Copy link
Member Author

Removing the runAsNonRoot: true from live deployment fixes the issue so we should make this field null when generating the manifests for OLM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant