-
Notifications
You must be signed in to change notification settings - Fork 8
Description
I had this problem when trying to install the operator as static pod on k8s node.
Steps:
-
Build the operator images from latest code and push to quay.io:
make REGISTRY=quay.io/rhn_support_fjin PUSH_FLAGS="--tls-verify=false" push -
Create the manifests:
make REGISTRY=quay.io/rhn_support_fjin manifests -
Install k8s on a fedora vm
-
On the k8s node, copy these pod yaml files to /etc/kubernetes/manifests: trustee_deployment.yaml, cocl-operator.yaml, register-server.yaml. They will be started as static pods by kubelet service
-
Apply the CRD and CR
kubectl apply -f trusted-execution-clusters.io_machines.yaml
kubectl apply -f trusted-execution-clusters.io_trustedexecutionclusters.yaml
kubectl apply -f trusted_execution_cluster_cr.yaml -
Try to get the ignition file
$ curl -O http://192.168.122.53:8000/ignition-clevis-pin-trustee
$ cat ignition-clevis-pin-trustee
{"code":500,"message":"Failed to get Trustee address: More than one TrustedExecutionCluster found in namespace default. trusted-cluster-operator does not support more than one TrustedExecutionCluster. Cancelling Ignition Clevis PIN request."} -
Check the CR
$ kubectl get trustedexecutionclusters.trusted-execution-clusters.io -A
NAMESPACE NAME AGE
trusted-execution-clusters trusted-execution-cluster 23h