You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Container mode is an object that provides out-of-box configuration
60
+
## for dind and kubernetes mode. Template will be modified as documented under the
61
+
## template object.
62
+
##
63
+
## If any customization is required for dind or kubernetes mode, containerMode should remain
64
+
## empty, and configuration should be applied to the template.
65
+
containerMode:
66
+
type: "dind"## type can be set to dind or kubernetes
67
+
# ## the following is required when containerMode.type=kubernetes
68
+
# kubernetesModeWorkVolumeClaim:
69
+
# accessModes: ["ReadWriteOnce"]
70
+
# # For local testing, use https://github.com/openebs/dynamic-localpv-provisioner/blob/develop/docs/quickstart.md to provide dynamic provision volume with storageClassName: openebs-hostpath
71
+
# storageClassName: "dynamic-blob-storage"
72
+
# resources:
73
+
# requests:
74
+
# storage: 1Gi
75
+
# kubernetesModeServiceAccount:
76
+
# annotations:
77
+
78
+
## template is the PodSpec for each listener Pod
79
+
## For reference: https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#PodSpec
80
+
listenerTemplate:
81
+
spec:
82
+
tolerations:
83
+
- effect: NoSchedule
84
+
key: node-role.kubernetes.io/control-plane
85
+
# Node affinity is used to force cluster-autoscaler to stick
86
+
# to the master node. This allows the cluster to reliably downscale
87
+
# to zero worker nodes when needed.
88
+
affinity:
89
+
nodeAffinity:
90
+
requiredDuringSchedulingIgnoredDuringExecution:
91
+
nodeSelectorTerms:
92
+
- matchExpressions:
93
+
- key: node-role.kubernetes.io/control-plane
94
+
operator: Exists
95
+
containers:
96
+
- name: listener
97
+
securityContext:
98
+
runAsUser: 1000
99
+
# containers:
100
+
# # Use this section to append additional configuration to the listener container.
101
+
# # If you change the name of the container, the configuration will not be applied to the listener,
102
+
# # and it will be treated as a side-car container.
103
+
# - name: listener
104
+
# securityContext:
105
+
# runAsUser: 1000
106
+
# # Use this section to add the configuration of a side-car container.
107
+
# # Comment it out or remove it if you don't need it.
108
+
# # Spec for this container will be applied as is without any modifications.
109
+
# - name: side-car
110
+
# image: example-sidecar
111
+
112
+
## template is the PodSpec for each runner Pod
113
+
## For reference: https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#PodSpec
114
+
template:
115
+
## template.spec will be modified if you change the container mode
116
+
## with containerMode.type=dind, we will populate the template.spec with following pod spec
0 commit comments