generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 27
/
module-kmm-ci-build-sign.yaml
39 lines (39 loc) · 1.13 KB
/
module-kmm-ci-build-sign.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
apiVersion: kmm.sigs.x-k8s.io/v1beta1
kind: Module
metadata:
name: kmm-ci
spec:
moduleLoader:
container:
inTreeModulesToRemove:
- dummy
modprobe:
moduleName: kmm_ci_a
modulesLoadingOrder: [kmm_ci_a, kmm_ci_b]
kernelMappings:
- regexp: '^.+$'
containerImage: host.minikube.internal:5000/$MOD_NAMESPACE/$MOD_NAME:$KERNEL_FULL_VERSION
registryTLS:
insecure: true
build:
baseImageRegistryTLS:
insecure: true
secrets:
- name: build-secret
dockerfileConfigMap:
name: kmm-kmod-dockerfile
# Optional. If kanikoParams.tag is empty, the default value will be: 'latest'
kanikoParams:
tag: "debug"
sign:
certSecret:
name: kmm-kmod-signing-cert
keySecret:
name: kmm-kmod-signing-key
unsignedImageRegistryTLS:
insecure: true
filesToSign:
- /opt/lib/modules/${KERNEL_FULL_VERSION}/kmm_ci_a.ko
selector:
kubernetes.io/hostname: minikube