Skip to content

Commit

Permalink
ccruntime: Set INSTALL_OFFICIAL_CONTAINERD to false
Browse files Browse the repository at this point in the history
The majority of the managed kubernetes solutions are already relying on
a new enough (v1.7+) version of containerd.

Fixes: confidential-containers#272

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
  • Loading branch information
fidencio committed Oct 30, 2023
1 parent 14a184c commit 34ef4d4
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/samples/ccruntime/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,13 @@ patches:
- op: add
path: /spec/config/debug
value: false
- op: add
path: /spec/config/environmentVariables
value:
# It means that we're relying on the cluster to already have
# containerd v1.7+ running. If you know for sure that's not
# the case, please, set this variable to `true`
- name: "INSTALL_OFFICIAL_CONTAINERD"
value: "false"
target:
kind: CcRuntime
8 changes: 8 additions & 0 deletions config/samples/ccruntime/peer-pods/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,13 @@ patches:
- op: add
path: /spec/config/debug
value: false
- op: add
path: /spec/config/environmentVariables
value:
# It means that we're relying on the cluster to already have
# containerd v1.7+ running. If you know for sure that's not
# the case, please, set this variable to `true`
- name: "INSTALL_OFFICIAL_CONTAINERD"
value: "false"
target:
kind: CcRuntime
8 changes: 8 additions & 0 deletions config/samples/ccruntime/s390x/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,13 @@ patches:
- op: add
path: /spec/config/debug
value: false
- op: add
path: /spec/config/environmentVariables
value:
# It means that we're relying on the cluster to already have
# containerd v1.7+ running. If you know for sure that's not
# the case, please, set this variable to `true`
- name: "INSTALL_OFFICIAL_CONTAINERD"
value: "false"
target:
kind: CcRuntime
8 changes: 8 additions & 0 deletions config/samples/ccruntime/ssh-demo/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ patches:
snapshotter: "nydus"
- name: "kata-qemu"
snapshotter: "nydus"
- op: add
path: /spec/config/environmentVariables
value:
# It means that we're relying on the cluster to already have
# containerd v1.7+ running. If you know for sure that's not
# the case, please, set this variable to `true`
- name: "INSTALL_OFFICIAL_CONTAINERD"
value: "false"
target:
kind: CcRuntime

0 comments on commit 34ef4d4

Please sign in to comment.