Created
January 17, 2024 18:02
-
-
Save GabyCT/17fd069468f8b12062a099f88884a78a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kubectl apply -k github.com/confidential-containers/operator/config/samples/ccruntime/default?ref=$RELEASE_VERSION | |
| The request is invalid: patch: Invalid value: "{\"apiVersion\":\"confidentialcontainers.org/v1beta1\",\"kind\":\"CcRuntime\",\"metadata\":{\"annotations\":{\"kubectl.kubernetes.io/last-applied-configuration\":\"{\\\"apiVersion\\\":\\\"confidentialcontainers.org/v1beta1\\\",\\\"kind\\\":\\\"CcRuntime\\\",\\\"metadata\\\":{\\\"annotations\\\":{},\\\"name\\\":\\\"ccruntime-sample\\\"},\\\"spec\\\":{\\\"ccNodeSelector\\\":{\\\"matchLabels\\\":{\\\"node.kubernetes.io/worker\\\":\\\"\\\"}},\\\"config\\\":{\\\"cleanupCmd\\\":[\\\"/opt/kata-artifacts/scripts/kata-deploy.sh\\\",\\\"reset\\\"],\\\"debug\\\":false,\\\"defaultRuntimeClassName\\\":\\\"kata-qemu\\\",\\\"environmentVariables\\\":[{\\\"name\\\":\\\"INSTALL_OFFICIAL_CONTAINERD\\\",\\\"value\\\":\\\"false\\\"}],\\\"installCmd\\\":[\\\"/opt/kata-artifacts/scripts/kata-deploy.sh\\\",\\\"install\\\"],\\\"installDoneLabel\\\":{\\\"katacontainers.io/kata-runtime\\\":\\\"true\\\"},\\\"installType\\\":\\\"bundle\\\",\\\"installerVolumeMounts\\\":[{\\\"mountPath\\\":\\\"/etc/crio/\\\",\\\"name\\\":\\\"crio-conf\\\"},{\\\"mountPath\\\":\\\"/etc/containerd/\\\",\\\"name\\\":\\\"containerd-conf\\\"},{\\\"mountPath\\\":\\\"/opt/kata/\\\",\\\"name\\\":\\\"kata-artifacts\\\"},{\\\"mountPath\\\":\\\"/usr/local/bin/\\\",\\\"name\\\":\\\"local-bin\\\"}],\\\"installerVolumes\\\":[{\\\"hostPath\\\":{\\\"path\\\":\\\"/etc/crio/\\\",\\\"type\\\":\\\"\\\"},\\\"name\\\":\\\"crio-conf\\\"},{\\\"hostPath\\\":{\\\"path\\\":\\\"/etc/containerd/\\\",\\\"type\\\":\\\"\\\"},\\\"name\\\":\\\"containerd-conf\\\"},{\\\"hostPath\\\":{\\\"path\\\":\\\"/opt/kata/\\\",\\\"type\\\":\\\"DirectoryOrCreate\\\"},\\\"name\\\":\\\"kata-artifacts\\\"},{\\\"hostPath\\\":{\\\"path\\\":\\\"/usr/local/bin/\\\",\\\"type\\\":\\\"\\\"},\\\"name\\\":\\\"local-bin\\\"}],\\\"payloadImage\\\":\\\"quay.io/confidential-containers/runtime-payload-ci:kata-containers-8de1f8e19f858134ba455a7c04edcb21d8bcf6b1\\\",\\\"postUninstall\\\":{\\\"image\\\":\\\"quay.io/confidential-containers/reqs-payload:e92cb67ea8956128a31950a0c3fa79a086dbaf1a\\\",\\\"volumeMounts\\\":[{\\\"mountPath\\\":\\\"/opt/confidential-containers/\\\",\\\"name\\\":\\\"confidential-containers-artifacts\\\"},{\\\"mountPath\\\":\\\"/etc/systemd/system/\\\",\\\"name\\\":\\\"etc-systemd-system\\\"},{\\\"mountPath\\\":\\\"/etc/containerd/\\\",\\\"name\\\":\\\"containerd-conf\\\"},{\\\"mountPath\\\":\\\"/usr/local/bin/\\\",\\\"name\\\":\\\"local-bin\\\"},{\\\"mountPath\\\":\\\"/var/lib/containerd-nydus/\\\",\\\"name\\\":\\\"containerd-nydus\\\"}],\\\"volumes\\\":[{\\\"hostPath\\\":{\\\"path\\\":\\\"/opt/confidential-containers/\\\",\\\"type\\\":\\\"DirectoryOrCreate\\\"},\\\"name\\\":\\\"confidential-containers-artifacts\\\"},{\\\"hostPath\\\":{\\\"path\\\":\\\"/etc/systemd/system/\\\",\\\"type\\\":\\\"\\\"},\\\"name\\\":\\\"etc-systemd-system\\\"},{\\\"hostPath\\\":{\\\"path\\\":\\\"/etc/containerd/\\\",\\\"type\\\":\\\"\\\"},\\\"name\\\":\\\"containerd-conf\\\"},{\\\"hostPath\\\":{\\\"path\\\":\\\"/usr/local/bin/\\\",\\\"type\\\":\\\"\\\"},\\\"name\\\":\\\"local-bin\\\"},{\\\"hostPath\\\":{\\\"path\\\":\\\"/var/lib/containerd-nydus/\\\",\\\"type\\\":\\\"\\\"},\\\"name\\\":\\\"containerd-nydus\\\"}]},\\\"preInstall\\\":{\\\"image\\\":\\\"quay.io/confidential-containers/reqs-payload:e92cb67ea8956128a31950a0c3fa79a086dbaf1a\\\",\\\"volumeMounts\\\":[{\\\"mountPath\\\":\\\"/opt/confidential-containers/\\\",\\\"name\\\":\\\"confidential-containers-artifacts\\\"},{\\\"mountPath\\\":\\\"/etc/systemd/system/\\\",\\\"name\\\":\\\"etc-systemd-system\\\"},{\\\"mountPath\\\":\\\"/etc/containerd/\\\",\\\"name\\\":\\\"containerd-conf\\\"},{\\\"mountPath\\\":\\\"/usr/local/bin/\\\",\\\"name\\\":\\\"local-bin\\\"},{\\\"mountPath\\\":\\\"/var/lib/containerd-nydus/\\\",\\\"name\\\":\\\"containerd-nydus\\\"}],\\\"volumes\\\":[{\\\"hostPath\\\":{\\\"path\\\":\\\"/opt/confidential-containers/\\\",\\\"type\\\":\\\"DirectoryOrCreate\\\"},\\\"name\\\":\\\"confidential-containers-artifacts\\\"},{\\\"hostPath\\\":{\\\"path\\\":\\\"/etc/systemd/system/\\\",\\\"type\\\":\\\"\\\"},\\\"name\\\":\\\"etc-systemd-system\\\"},{\\\"hostPath\\\":{\\\"path\\\":\\\"/etc/containerd/\\\",\\\"type\\\":\\\"\\\"},\\\"name\\\":\\\"containerd-conf\\\"},{\\\"hostPath\\\":{\\\"path\\\":\\\"/usr/local/bin/\\\",\\\"type\\\":\\\"\\\"},\\\"name\\\":\\\"local-bin\\\"},{\\\"hostPath\\\":{\\\"path\\\":\\\"/var/lib/containerd-nydus/\\\",\\\"type\\\":\\\"\\\"},\\\"name\\\":\\\"containerd-nydus\\\"}]},\\\"runtimeClasses\\\":[{\\\"name\\\":\\\"kata-clh\\\",\\\"snapshotter\\\":\\\"nydus\\\"},{\\\"name\\\":\\\"kata-clh-tdx\\\",\\\"snapshotter\\\":\\\"nydus\\\"},{\\\"name\\\":\\\"kata-qemu\\\",\\\"snapshotter\\\":\\\"nydus\\\"},{\\\"name\\\":\\\"kata-qemu-tdx\\\",\\\"snapshotter\\\":\\\"nydus\\\"},{\\\"name\\\":\\\"kata-qemu-sev\\\",\\\"snapshotter\\\":\\\"nydus\\\"},{\\\"name\\\":\\\"kata-qemu-snp\\\",\\\"snapshotter\\\":\\\"nydus\\\"}],\\\"uninstallCmd\\\":[\\\"/opt/kata-artifacts/scripts/kata-deploy.sh\\\",\\\"cleanup\\\"],\\\"uninstallDoneLabel\\\":{\\\"katacontainers.io/kata-runtime\\\":\\\"cleanup\\\"}},\\\"runtimeName\\\":\\\"kata\\\"}}\\n\"},\"creationTimestamp\":\"2024-01-17T17:22:00Z\",\"generation\":2,\"managedFields\":[{\"apiVersion\":\"confidentialcontainers.org/v1beta1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\".\":{},\"f:kubectl.kubernetes.io/last-applied-configuration\":{}}},\"f:spec\":{\".\":{},\"f:config\":{\".\":{},\"f:cleanupCmd\":{},\"f:debug\":{},\"f:defaultRuntimeClassName\":{},\"f:environmentVariables\":{},\"f:installCmd\":{},\"f:installDoneLabel\":{\".\":{},\"f:katacontainers.io/kata-runtime\":{}},\"f:installType\":{},\"f:installerVolumeMounts\":{},\"f:installerVolumes\":{},\"f:payloadImage\":{},\"f:postUninstall\":{\".\":{},\"f:image\":{},\"f:volumeMounts\":{},\"f:volumes\":{}},\"f:preInstall\":{\".\":{},\"f:image\":{},\"f:volumeMounts\":{},\"f:volumes\":{}},\"f:runtimeClasses\":{},\"f:uninstallCmd\":{},\"f:uninstallDoneLabel\":{\".\":{},\"f:katacontainers.io/kata-runtime\":{}}},\"f:runtimeName\":{}}},\"manager\":\"kubectl-client-side-apply\",\"operation\":\"Update\",\"time\":\"2024-01-17T17:56:54Z\"}],\"name\":\"ccruntime-sample\",\"resourceVersion\":\"2495\",\"uid\":\"1fdf82fa-7735-4642-8328-ea1e8e68e45d\"},\"spec\":{\"ccNodeSelector\":{\"matchLabels\":{\"node.kubernetes.io/worker\":\"\"}},\"config\":{\"cleanupCmd\":[\"/opt/kata-artifacts/scripts/kata-deploy.sh\",\"reset\"],\"debug\":false,\"defaultRuntimeClassName\":\"kata-qemu\",\"environmentVariables\":[{\"name\":\"INSTALL_OFFICIAL_CONTAINERD\",\"value\":\"false\"}],\"installCmd\":[\"/opt/kata-artifacts/scripts/kata-deploy.sh\",\"install\"],\"installDoneLabel\":{\"katacontainers.io/kata-runtime\":\"true\"},\"installType\":\"bundle\",\"installerVolumeMounts\":[{\"mountPath\":\"/etc/crio/\",\"name\":\"crio-conf\"},{\"mountPath\":\"/etc/containerd/\",\"name\":\"containerd-conf\"},{\"mountPath\":\"/opt/kata/\",\"name\":\"kata-artifacts\"},{\"mountPath\":\"/usr/local/bin/\",\"name\":\"local-bin\"}],\"installerVolumes\":[{\"hostPath\":{\"path\":\"/etc/crio/\",\"type\":\"\"},\"name\":\"crio-conf\"},{\"hostPath\":{\"path\":\"/etc/containerd/\",\"type\":\"\"},\"name\":\"containerd-conf\"},{\"hostPath\":{\"path\":\"/opt/kata/\",\"type\":\"DirectoryOrCreate\"},\"name\":\"kata-artifacts\"},{\"hostPath\":{\"path\":\"/usr/local/bin/\",\"type\":\"\"},\"name\":\"local-bin\"}],\"payloadImage\":\"quay.io/confidential-containers/runtime-payload-ci:kata-containers-8de1f8e19f858134ba455a7c04edcb21d8bcf6b1\",\"postUninstall\":{\"image\":\"quay.io/confidential-containers/reqs-payload:e92cb67ea8956128a31950a0c3fa79a086dbaf1a\",\"volumeMounts\":[{\"mountPath\":\"/opt/confidential-containers/\",\"name\":\"confidential-containers-artifacts\"},{\"mountPath\":\"/etc/systemd/system/\",\"name\":\"etc-systemd-system\"},{\"mountPath\":\"/etc/containerd/\",\"name\":\"containerd-conf\"},{\"mountPath\":\"/usr/local/bin/\",\"name\":\"local-bin\"},{\"mountPath\":\"/var/lib/containerd-nydus/\",\"name\":\"containerd-nydus\"}],\"volumes\":[{\"hostPath\":{\"path\":\"/opt/confidential-containers/\",\"type\":\"DirectoryOrCreate\"},\"name\":\"confidential-containers-artifacts\"},{\"hostPath\":{\"path\":\"/etc/systemd/system/\",\"type\":\"\"},\"name\":\"etc-systemd-system\"},{\"hostPath\":{\"path\":\"/etc/containerd/\",\"type\":\"\"},\"name\":\"containerd-conf\"},{\"hostPath\":{\"path\":\"/usr/local/bin/\",\"type\":\"\"},\"name\":\"local-bin\"},{\"hostPath\":{\"path\":\"/var/lib/containerd-nydus/\",\"type\":\"\"},\"name\":\"containerd-nydus\"}]},\"preInstall\":{\"image\":\"quay.io/confidential-containers/reqs-payload:e92cb67ea8956128a31950a0c3fa79a086dbaf1a\",\"volumeMounts\":[{\"mountPath\":\"/opt/confidential-containers/\",\"name\":\"confidential-containers-artifacts\"},{\"mountPath\":\"/etc/systemd/system/\",\"name\":\"etc-systemd-system\"},{\"mountPath\":\"/etc/containerd/\",\"name\":\"containerd-conf\"},{\"mountPath\":\"/usr/local/bin/\",\"name\":\"local-bin\"},{\"mountPath\":\"/var/lib/containerd-nydus/\",\"name\":\"containerd-nydus\"}],\"volumes\":[{\"hostPath\":{\"path\":\"/opt/confidential-containers/\",\"type\":\"DirectoryOrCreate\"},\"name\":\"confidential-containers-artifacts\"},{\"hostPath\":{\"path\":\"/etc/systemd/system/\",\"type\":\"\"},\"name\":\"etc-systemd-system\"},{\"hostPath\":{\"path\":\"/etc/containerd/\",\"type\":\"\"},\"name\":\"containerd-conf\"},{\"hostPath\":{\"path\":\"/usr/local/bin/\",\"type\":\"\"},\"name\":\"local-bin\"},{\"hostPath\":{\"path\":\"/var/lib/containerd-nydus/\",\"type\":\"\"},\"name\":\"containerd-nydus\"}]},\"runtimeClasses\":[{\"name\":\"kata-clh\",\"snapshotter\":\"nydus\"},{\"name\":\"kata-clh-tdx\",\"snapshotter\":\"nydus\"},{\"name\":\"kata-qemu\",\"snapshotter\":\"nydus\"},{\"name\":\"kata-qemu-tdx\",\"snapshotter\":\"nydus\"},{\"name\":\"kata-qemu-sev\",\"snapshotter\":\"nydus\"},{\"name\":\"kata-qemu-snp\",\"snapshotter\":\"nydus\"}],\"uninstallCmd\":[\"/opt/kata-artifacts/scripts/kata-deploy.sh\",\"cleanup\"],\"uninstallDoneLabel\":{\"katacontainers.io/kata-runtime\":\"cleanup\"}},\"runtimeName\":\"kata\"}}": strict decoding error: unknown field "spec.config.cleanupCmd", unknown field "spec.config.debug", unknown field "spec.config.defaultRuntimeClassName", unknown field "spec.config.environmentVariables", unknown field "spec.config.installCmd", unknown field "spec.config.installDoneLabel", unknown field "spec.config.installerVolumeMounts", unknown field "spec.config.installerVolumes", unknown field "spec.config.postUninstall", unknown field "spec.config.preInstall", unknown field "spec.config.runtimeClasses", unknown field "spec.config.uninstallCmd", unknown field "spec.config.uninstallDoneLabel" | |
| echo $RELEASE_VERSION | |
| v0.8.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment