GoogleCloudPlatform / flink-on-k8s-operator

[DEPRECATED] Kubernetes operator for managing the lifecycle of Apache Flink and Beam applications.
Apache License 2.0
658 stars 265 forks source link

Cert-job failing on OKD 4.5 #337

Open maver1ck opened 4 years ago

maver1ck commented 4 years ago

Hi, I'm trying to run operator on Openshift. Chart version 0.1.1

Cert-job is failing with following error:

cert.sh
+ service=flink-operator-webhook-service
+ secret=webhook-server-cert
+ namespace=flink-operator
+ csrName=flink-operator-webhook-service.flink-operator
++ mktemp -d
Creating certs in tmpdir /tmp/tmp.zelqkXLeKy
+ tmpdir=/tmp/tmp.zelqkXLeKy
+ echo 'Creating certs in tmpdir /tmp/tmp.zelqkXLeKy '
+ cat
+ openssl req -nodes -new -x509 -keyout ca.key -out ca.crt -subj '/CN=Admission Controller Webhook CA'
Can't load //.rnd into RNG
140375585984960:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:Filename=//.rnd
Generating a RSA private key
.........................................+++++
......................................................................+++++
writing new private key to 'ca.key'
req: Can't open "ca.key" for writing, Permission denied
$ oc version                                                                  
Client Version: 4.5.0-0.okd-2020-10-03-012432
Server Version: 4.5.0-0.okd-2020-07-29-070316
Kubernetes Version: v1.18.3