Skip to content

Commit

Permalink
Merge branch 'main' into gh-action
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenhorsman authored Dec 7, 2023
2 parents ebb1de6 + 5abf0c5 commit 94aa7e6
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 33 deletions.
14 changes: 5 additions & 9 deletions bundle/manifests/cc-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ metadata:
"name": "local-bin"
}
],
"payloadImage": "quay.io/confidential-containers/runtime-payload-ci:kata-containers-8de1f8e19f858134ba455a7c04edcb21d8bcf6b1",
"payloadImage": "quay.io/kata-containers/kata-deploy-ci:kata-containers-latest",
"postUninstall": {
"image": "quay.io/confidential-containers/reqs-payload:e92cb67ea8956128a31950a0c3fa79a086dbaf1a",
"image": "quay.io/confidential-containers/reqs-payload:latest",
"volumeMounts": [
{
"mountPath": "/opt/confidential-containers/",
Expand Down Expand Up @@ -149,7 +149,7 @@ metadata:
]
},
"preInstall": {
"image": "quay.io/confidential-containers/reqs-payload:e92cb67ea8956128a31950a0c3fa79a086dbaf1a",
"image": "quay.io/confidential-containers/reqs-payload:latest",
"volumeMounts": [
{
"mountPath": "/opt/confidential-containers/",
Expand Down Expand Up @@ -215,10 +215,6 @@ metadata:
"name": "kata-clh",
"snapshotter": "nydus"
},
{
"name": "kata-clh-tdx",
"snapshotter": "nydus"
},
{
"name": "kata-qemu",
"snapshotter": "nydus"
Expand Down Expand Up @@ -250,8 +246,8 @@ metadata:
]
capabilities: Basic Install
categories: Security
containerImage: quay.io/confidential-containers/operator:v0.8.0
createdAt: "2023-11-15T15:02:03Z"
containerImage: quay.io/confidential-containers/operator:latest
createdAt: "2023-11-30T13:53:32Z"
operators.operatorframework.io/builder: operator-sdk-v1.30.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
name: cc-operator.v0.8.0
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ kind: Kustomization
images:
- name: controller
newName: quay.io/confidential-containers/operator
newTag: v0.8.0
newTag: latest
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
alm-examples: '[]'
capabilities: Basic Install
categories: Security
containerImage: quay.io/confidential-containers/operator:v0.8.0
containerImage: quay.io/confidential-containers/operator:latest
name: cc-operator.v0.0.1
namespace: placeholder
spec:
Expand Down
3 changes: 1 addition & 2 deletions config/samples/ccruntime/base/ccruntime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
node.kubernetes.io/worker: ""
config:
installType: bundle
payloadImage: quay.io/confidential-containers/runtime-payload:kata-containers
payloadImage: quay.io/kata-containers/kata-deploy:stable
installDoneLabel:
katacontainers.io/kata-runtime: "true"
uninstallDoneLabel:
Expand Down Expand Up @@ -146,4 +146,3 @@ spec:
# default: false
- name: "INSTALL_NYDUS_SNAPSHOTTER"
value: "true"

10 changes: 4 additions & 6 deletions config/samples/ccruntime/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ resources:

images:
- name: quay.io/confidential-containers/reqs-payload
newTag: e92cb67ea8956128a31950a0c3fa79a086dbaf1a
- name: quay.io/confidential-containers/runtime-payload
newName: quay.io/confidential-containers/runtime-payload-ci
newTag: kata-containers-8de1f8e19f858134ba455a7c04edcb21d8bcf6b1
newTag: latest
- name: quay.io/kata-containers/kata-deploy
newName: quay.io/kata-containers/kata-deploy-ci
newTag: kata-containers-latest

patches:
- patch: |-
Expand All @@ -20,8 +20,6 @@ patches:
value:
- name: "kata-clh"
snapshotter: "nydus"
- name: "kata-clh-tdx"
snapshotter: "nydus"
- name: "kata-qemu"
snapshotter: "nydus"
- name: "kata-qemu-tdx"
Expand Down
9 changes: 5 additions & 4 deletions config/samples/ccruntime/peer-pods/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ resources:

images:
- name: quay.io/confidential-containers/reqs-payload
newTag: e92cb67ea8956128a31950a0c3fa79a086dbaf1a
- name: quay.io/confidential-containers/runtime-payload
newName: quay.io/confidential-containers/runtime-payload-ci
newTag: kata-containers-8de1f8e19f858134ba455a7c04edcb21d8bcf6b1
newTag: latest
- name: quay.io/kata-containers/kata-deploy
newName: quay.io/kata-containers/kata-deploy-ci
newTag: kata-containers-latest


patches:
- patch: |-
Expand Down
8 changes: 3 additions & 5 deletions config/samples/ccruntime/s390x/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ resources:
- ../default

images:
- name: quay.io/confidential-containers/runtime-payload
newName: quay.io/confidential-containers/runtime-payload-ci
newTag: kata-containers-8de1f8e19f858134ba455a7c04edcb21d8bcf6b1
- name: quay.io/kata-containers/kata-deploy
newName: quay.io/kata-containers/kata-deploy-ci
newTag: kata-containers-latest

patches:
- patch: |-
Expand All @@ -18,8 +18,6 @@ patches:
value:
- name: "kata-qemu"
snapshotter: "nydus"
- name: "kata-qemu-se"
snapshotter: "nydus"
- op: add
path: /spec/config/defaultRuntimeClassName
value: "kata-qemu"
Expand Down
2 changes: 1 addition & 1 deletion config/samples/enclave-cc/hw/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ nameSuffix: -sgx-mode-hw

images:
- name: quay.io/confidential-containers/reqs-payload
newTag: e92cb67ea8956128a31950a0c3fa79a086dbaf1a
newTag: latest
2 changes: 1 addition & 1 deletion config/samples/enclave-cc/sim/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ images:
- name: quay.io/confidential-containers/runtime-payload
newTag: enclave-cc-SIM-sample-kbc-v0.8.0
- name: quay.io/confidential-containers/reqs-payload
newTag: e92cb67ea8956128a31950a0c3fa79a086dbaf1a
newTag: latest
3 changes: 1 addition & 2 deletions docs/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ A successful install should show the following `RuntimeClasses`.
NAME HANDLER AGE
kata kata 9m55s
kata-clh kata-clh 9m55s
kata-clh-tdx kata-clh-tdx 9m55s
kata-qemu kata-qemu 9m55s
kata-qemu-tdx kata-qemu-tdx 9m55s
kata-qemu-sev kata-qemu-sev 9m55s
Expand All @@ -147,7 +146,7 @@ as shown below, where `<MY_CUSTOM_CR>`, `<MY_PAYLOAD>`, and `<TAG>` needs to be
make kustomize
cp -r config/samples/ccruntime/default config/samples/ccruntime/<MY_CUSTOM_CR>
cd config/samples/ccruntime/<MY_CUSTOM_CR>
../../../../bin/kustomize edit set image quay.io/confidential-containers/runtime-payload=<MY_PAYLOAD>:<TAG>
../../../../bin/kustomize edit set image quay.io/kata-containers/kata-deploy=<MY_PAYLOAD>:<TAG>
```

Then install the new CR as:
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/tests_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ main() {

# Run tests.
case $runtimeclass in
kata-qemu|kata-clh|kata-clh-tdx|kata-qemu-se|kata-qemu-tdx|kata-qemu-sev|kata-qemu-snp)
kata-qemu|kata-clh|kata-qemu-tdx|kata-qemu-sev|kata-qemu-snp)
echo "INFO: Running operator tests for $runtimeclass"
bats "${script_dir}/operator_tests.bats"
;;
Expand Down

0 comments on commit 94aa7e6

Please sign in to comment.