File tree 13 files changed +35
-13
lines changed
13 files changed +35
-13
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ Deploy Kubernetes in Kubernetes using Helm
26
26
27
27
``` bash
28
28
helm repo add kvaps https://kvaps.github.io/charts
29
- helm install foo kvaps/kubernetes --version 0.12 .0 \
29
+ helm install foo kvaps/kubernetes --version 0.13 .0 \
30
30
--namespace foo \
31
31
--create-namespace \
32
32
--set persistence.storageClassName=local-path
Original file line number Diff line number Diff line change 1
1
FROM docker.io/library/alpine:3.12
2
2
3
3
RUN apk add --no-cache openssl
4
- ARG VERSION=v1.21.3
4
+ ARG VERSION=v1.22.0
5
5
RUN wget "https://storage.googleapis.com/kubernetes-release/release/${VERSION}/bin/linux/amd64/kubectl" \
6
6
-O /usr/local/bin/kubectl \
7
7
&& chmod +x /usr/local/bin/kubectl
Original file line number Diff line number Diff line change 1
1
name : kubernetes
2
2
description : Production-Grade Container Scheduling and Management
3
- version : 0.12 .0
4
- appVersion : 1.21.3
3
+ version : 0.13 .0
4
+ appVersion : 1.22.0
5
5
icon : https://upload.wikimedia.org/wikipedia/commons/thumb/3/39/Kubernetes_logo_without_workmark.svg/723px-Kubernetes_logo_without_workmark.svg.png
6
6
keywords :
7
7
- kubernetes
Original file line number Diff line number Diff line change 40
40
{{- toYaml . | nindent 8 }}
41
41
{{- end }}
42
42
hostNetwork : {{ .Values.konnectivityAgent.hostNetwork }}
43
+ securityContext :
44
+ seccompProfile :
45
+ type : RuntimeDefault
43
46
priorityClassName : system-cluster-critical
44
47
tolerations :
45
48
- key : " CriticalAddonsOnly"
Original file line number Diff line number Diff line change @@ -21,8 +21,6 @@ export KUBECONFIG=/etc/kubernetes/admin.conf
21
21
# upload configuration
22
22
# TODO: https://github.com/kvaps/kubernetes-in-kubernetes/issues/6
23
23
kubeadm init phase upload-config kubeadm --config /config/kubeadmcfg.yaml
24
- kubectl patch configmap -n kube-system kubeadm-config \
25
- -p ' {"data":{"ClusterStatus":"apiEndpoints: {}\napiVersion: kubeadm.k8s.io/v1beta2\nkind: ClusterStatus"}}'
26
24
27
25
# upload configuration
28
26
# TODO: https://github.com/kvaps/kubernetes-in-kubernetes/issues/5
Original file line number Diff line number Diff line change @@ -113,6 +113,9 @@ spec:
113
113
{{- with .Values.admin.sidecars }}
114
114
{{- toYaml . | nindent 6 }}
115
115
{{- end }}
116
+ securityContext :
117
+ seccompProfile :
118
+ type : RuntimeDefault
116
119
volumes :
117
120
- configMap :
118
121
name : " {{ $fullName }}-admin-conf"
Original file line number Diff line number Diff line change @@ -164,6 +164,9 @@ spec:
164
164
{{- with .Values.apiServer.sidecars }}
165
165
{{- toYaml . | nindent 6 }}
166
166
{{- end }}
167
+ securityContext :
168
+ seccompProfile :
169
+ type : RuntimeDefault
167
170
volumes :
168
171
- configMap :
169
172
name : " {{ $fullName }}-apiserver-config"
Original file line number Diff line number Diff line change @@ -129,6 +129,9 @@ spec:
129
129
{{- with .Values.controllerManager.sidecars }}
130
130
{{- toYaml . | nindent 6 }}
131
131
{{- end }}
132
+ securityContext :
133
+ seccompProfile :
134
+ type : RuntimeDefault
132
135
volumes :
133
136
- configMap :
134
137
name : " {{ $fullName }}-controller-manager-conf"
Original file line number Diff line number Diff line change @@ -127,6 +127,9 @@ spec:
127
127
{{- with .Values.etcd.backup.sidecars }}
128
128
{{- toYaml . | nindent 10 }}
129
129
{{- end }}
130
+ securityContext :
131
+ seccompProfile :
132
+ type : RuntimeDefault
130
133
volumes :
131
134
- secret :
132
135
secretName : {{ $fullName }}-pki-etcd-ca
Original file line number Diff line number Diff line change @@ -150,6 +150,9 @@ spec:
150
150
{{- with .Values.etcd.sidecars }}
151
151
{{- toYaml . | nindent 6 }}
152
152
{{- end }}
153
+ securityContext :
154
+ seccompProfile :
155
+ type : RuntimeDefault
153
156
volumes :
154
157
- secret :
155
158
secretName : {{ $fullName }}-pki-etcd-ca
Original file line number Diff line number Diff line change 72
72
{{- with .Values.konnectivityServer.sidecars }}
73
73
{{- toYaml . | nindent 6 }}
74
74
{{- end }}
75
+ securityContext :
76
+ seccompProfile :
77
+ type : RuntimeDefault
75
78
{{ template "kubernetes.konnectivityServer.volumes" . }}
76
79
{{- end }}
Original file line number Diff line number Diff line change @@ -114,6 +114,9 @@ spec:
114
114
{{- with .Values.scheduler.sidecars }}
115
115
{{- toYaml . | nindent 6 }}
116
116
{{- end }}
117
+ securityContext :
118
+ seccompProfile :
119
+ type : RuntimeDefault
117
120
volumes :
118
121
- configMap :
119
122
name : " {{ $fullName }}-scheduler-conf"
Original file line number Diff line number Diff line change 25
25
enabled : true
26
26
image :
27
27
repository : k8s.gcr.io/etcd
28
- tag : 3.4.13-3
28
+ tag : 3.5.0-0
29
29
pullPolicy : IfNotPresent
30
30
pullSecrets : []
31
31
replicaCount : 3
@@ -106,7 +106,7 @@ apiServer:
106
106
enabled : true
107
107
image :
108
108
repository : k8s.gcr.io/kube-apiserver
109
- tag : v1.21.3
109
+ tag : v1.22.0
110
110
pullPolicy : IfNotPresent
111
111
pullSecrets : []
112
112
replicaCount : 2
@@ -155,7 +155,7 @@ controllerManager:
155
155
enabled : true
156
156
image :
157
157
repository : k8s.gcr.io/kube-controller-manager
158
- tag : v1.21.3
158
+ tag : v1.22.0
159
159
pullPolicy : IfNotPresent
160
160
pullSecrets : []
161
161
replicaCount : 2
@@ -195,7 +195,7 @@ scheduler:
195
195
enabled : true
196
196
image :
197
197
repository : k8s.gcr.io/kube-scheduler
198
- tag : v1.21.3
198
+ tag : v1.22.0
199
199
pullPolicy : IfNotPresent
200
200
pullSecrets : []
201
201
replicaCount : 2
@@ -235,7 +235,7 @@ admin:
235
235
enabled : true
236
236
image :
237
237
repository : ghcr.io/kvaps/kubernetes-tools
238
- tag : v0.12 .0
238
+ tag : v0.13 .0
239
239
pullPolicy : IfNotPresent
240
240
pullSecrets : []
241
241
replicaCount : 1
@@ -294,7 +294,7 @@ konnectivityServer:
294
294
mode : GRPC
295
295
image :
296
296
repository : us.gcr.io/k8s-artifacts-prod/kas-network-proxy/proxy-server
297
- tag : v0.0.21
297
+ tag : v0.0.22
298
298
pullPolicy : IfNotPresent
299
299
pullSecrets : []
300
300
replicaCount : 2
@@ -345,7 +345,7 @@ konnectivityAgent:
345
345
enabled : false
346
346
image :
347
347
repository : us.gcr.io/k8s-artifacts-prod/kas-network-proxy/proxy-agent
348
- tag : v0.0.21
348
+ tag : v0.0.22
349
349
pullPolicy : IfNotPresent
350
350
pullSecrets : []
351
351
replicaCount : 2
You can’t perform that action at this time.
0 commit comments