Open looping-aba opened 2 months ago
We had to add the finalizers permission to the role to get nifikop to work on openshift (well OKD 4.15) when deploying via helm.
Specifically adding additional lines for each of the objects beneath https://github.com/konpyutaika/nifikop/blob/963e3014004cd9fc4fdfe6a931d5e5526f7f5577/helm/nifikop/templates/role.yaml#L82 (nifiusers/finalizers, nificlusters/finalizers and so on)
Type of question
Implementation Assistance
Support question
Hello, I succeed to instanciate a 2 node cluster on openshift, but when I tried to activate authentication and SSL :) I'm looking for a workaround... and better a solution ;)
Context
OCP I'm running on an Openshift Cluster Client Version: 4.13.25 Kustomize Version: v4.5.7 Server Version: 4.14.15 Kubernetes Version: v1.27.10+c79e5e2
Operator Operator is initiated using the following command:
helm install nifikop . --version 1.10.0 --set image.tag=v1.10.0-release --set resources.requests.memory=256Mi --set resources.requests.cpu=250m --set resources.limits.memory=256Mi --set resources.limits.cpu=250m --debug --set namespaces={"dev01-nifi"} --namespace=dev01-nifi --set runAsUser=$uid
Nifi Cluster The nifi image has been customized to include keycloak certificate in jvm cacert. Cluster is instanciated in the same namespace as the operator => namespace dev01-nifi I tried to find solution in previous post and I changed the nodeUserIdentityTemplate.
Behaviour The cluster instanciation fail and no nifi pod is created.
In the certmanager namespace i can see that logs and it seems that cert and issuer are correctly created.
I can see cert in dev01-nifi namespace nifikop-webhook-cert nifi-ca-certificate
I can found issuer in dev01-nifi namespace nifi-issuer nifi-self-signer selfsigned-issuer
I can find secrets in dev01-nifi namespace nifi-1-server-certificate nifi-2-server-certificate nifi-ca-certificate nifi-controller
Logs and Error
I have several error regarding the fact client certificate cannont be generated
And After I can see certificate decoding error
NiFiKop version
No response
Golang version
No response
Kubernetes version
Client Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.1", GitCommit:"c7c6eb21da5c5b9f813ea09a21aa3e7226206993", GitTreeState:"clean", BuildDate:"2023-11-21T17:49:49Z", GoVersion:"go1.19.13 X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"} Kustomize Version: v4.5.7 Server Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.10+c79e5e2", GitCommit:"c725f2ce5164bf4165b22d6c28dd0ace4b3b7e9b", GitTreeState:"clean", BuildDate:"2024-02-21T18:19:42Z", GoVersion:"go1.20.12 X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}
NiFi version
1.21 => Image de base de l'image utilisée