Skip to content

Commit 761fbdf

Browse files
mschmidt291voigt
authored andcommitted
rename containerd to runtime
Signed-off-by: Max Schmidt <[email protected]>
1 parent e6adad5 commit 761fbdf

File tree

13 files changed

+23
-23
lines changed

13 files changed

+23
-23
lines changed

PROJECT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ resources:
1616
namespaced: true
1717
controller: true
1818
domain: kwasm.sh
19-
group: containerd
19+
group: runtime
2020
kind: Shim
2121
path: github.com/kwasm/kwasm-operator/api/v1beta1
2222
version: v1beta1

api/v1beta1/groupversion_info.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
// Package v1beta1 contains API Schema definitions for the containerd v1beta1 API group
17+
// Package v1beta1 contains API Schema definitions for the runtime v1beta1 API group
1818
// +kubebuilder:object:generate=true
1919
// +groupName=runtime.kwasm.sh
2020
package v1beta1

config/crd/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# since it depends on service name and namespace that are out of this kustomize package.
33
# It should be run by config/default
44
resources:
5-
- bases/containerd.kwasm.sh_shims.yaml
5+
- bases/runtime.kwasm.sh_shims.yaml
66
#+kubebuilder:scaffold:crdkustomizeresource
77

88
patchesStrategicMerge:

config/crd/patches/cainjection_in_shims.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ kind: CustomResourceDefinition
44
metadata:
55
annotations:
66
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)
7-
name: shims.containerd.kwasm.sh
7+
name: shims.runtime.kwasm.sh

config/crd/patches/webhook_in_shims.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
5-
name: shims.containerd.kwasm.sh
5+
name: shims.runtime.kwasm.sh
66
spec:
77
conversion:
88
strategy: Webhook

config/rbac/role.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
name: manager-role
77
rules:
88
- apiGroups:
9-
- containerd.kwasm.sh
9+
- runtime.kwasm.sh
1010
resources:
1111
- shims
1212
verbs:
@@ -18,13 +18,13 @@ rules:
1818
- update
1919
- watch
2020
- apiGroups:
21-
- containerd.kwasm.sh
21+
- runtime.kwasm.sh
2222
resources:
2323
- shims/finalizers
2424
verbs:
2525
- update
2626
- apiGroups:
27-
- containerd.kwasm.sh
27+
- runtime.kwasm.sh
2828
resources:
2929
- shims/status
3030
verbs:

config/rbac/shim_editor_role.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ metadata:
1212
name: shim-editor-role
1313
rules:
1414
- apiGroups:
15-
- containerd.kwasm.sh
15+
- runtime.kwasm.sh
1616
resources:
1717
- shims
1818
verbs:
@@ -24,7 +24,7 @@ rules:
2424
- update
2525
- watch
2626
- apiGroups:
27-
- containerd.kwasm.sh
27+
- runtime.kwasm.sh
2828
resources:
2929
- shims/status
3030
verbs:

config/rbac/shim_viewer_role.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ metadata:
1212
name: shim-viewer-role
1313
rules:
1414
- apiGroups:
15-
- containerd.kwasm.sh
15+
- runtime.kwasm.sh
1616
resources:
1717
- shims
1818
verbs:
1919
- get
2020
- list
2121
- watch
2222
- apiGroups:
23-
- containerd.kwasm.sh
23+
- runtime.kwasm.sh
2424
resources:
2525
- shims/status
2626
verbs:

config/samples/containerd_v1beta1_shim.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: containerd.kwasm.sh/v1beta1
1+
apiVersion: runtime.kwasm.sh/v1beta1
22
kind: Shim
33
metadata:
44
labels:

config/samples/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
## Append samples you want in your CSV to this file as resources ##
22
resources:
3-
- containerd_v1beta1_shim.yaml
3+
- runtime_v1beta1_shim.yaml
44
#+kubebuilder:scaffold:manifestskustomizesamples

0 commit comments

Comments
 (0)