File tree Expand file tree Collapse file tree 3 files changed +16
-9
lines changed
containerd/certs.d/_default Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,14 @@ nodes:
15
15
protocol : tcp
16
16
kubeadmConfigPatches :
17
17
- |
18
- kind: ClusterConfiguration
19
- apiServer:
20
- extraArgs:
21
- enable-admission-plugins: OwnerReferencesPermissionEnforcement
18
+ kind: InitConfiguration
19
+ nodeRegistration:
20
+ kubeletExtraArgs:
21
+ node-labels: "ingress-ready=true"
22
+ extraMounts :
23
+ - hostPath : ./testdata/containerd/certs.d
24
+ containerPath : /etc/containerd/certs.d
25
+ containerdConfigPatches :
26
+ - |-
27
+ [plugins."io.containerd.grpc.v1.cri".registry]
28
+ config_path = "/etc/containerd/certs.d"
Original file line number Diff line number Diff line change 44
44
- ${name} .${namespace} .svc.cluster.local
45
45
- ${name} -controller-manager-metrics-service.${namespace} .svc
46
46
- ${name} -controller-manager-metrics-service.${namespace} .svc.cluster.local
47
+ - localhost
47
48
privateKey:
48
49
algorithm: ECDSA
49
50
size: 256
71
72
spec:
72
73
containers:
73
74
- name: registry
74
- image: ${image}
75
+ image: registry:2
75
76
imagePullPolicy: IfNotPresent
76
- command:
77
- - /registry
78
- args:
79
- - "--registry-address=:5000"
80
77
volumeMounts:
81
78
- name: certs-vol
82
79
mountPath: "/certs"
Original file line number Diff line number Diff line change
1
+ [host ."localhost:30000" ]
2
+ capabilities = [" pull" , " resolve" ]
3
+ skip_verify = true
You can’t perform that action at this time.
0 commit comments