mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 02:08:13 +00:00 
			
		
		
		
	Update pause image to v3.5
Update dependencies and the test images to use pause 3.5. We also provide a changelog entry for the new container image version. Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
This commit is contained in:
		| @@ -166,7 +166,7 @@ dependencies: | |||||||
|       match: TAG = |       match: TAG = | ||||||
|  |  | ||||||
|   - name: "k8s.gcr.io/pause: dependents" |   - name: "k8s.gcr.io/pause: dependents" | ||||||
|     version: 3.4.1 |     version: 3.5 | ||||||
|     refPaths: |     refPaths: | ||||||
|     - path: cmd/kubeadm/app/constants/constants.go |     - path: cmd/kubeadm/app/constants/constants.go | ||||||
|       match: PauseVersion\s+= |       match: PauseVersion\s+= | ||||||
| @@ -215,7 +215,7 @@ dependencies: | |||||||
|     - path: test/utils/runners.go |     - path: test/utils/runners.go | ||||||
|       match: k8s.gcr.io\/pause:\d+\.\d+ |       match: k8s.gcr.io\/pause:\d+\.\d+ | ||||||
|     - path: test/utils/image/manifest.go |     - path: test/utils/image/manifest.go | ||||||
|       match: configs\[Pause\] = Config{list\.GcRegistry, "pause", "\d+\.\d+.\d+"} |       match: configs\[Pause\] = Config{list\.GcRegistry, "pause", "\d+\.\d+(.\d+)?"} | ||||||
|  |  | ||||||
|   # metadata-concealment: bump this one first |   # metadata-concealment: bump this one first | ||||||
|   - name: "metadata-concealment" |   - name: "metadata-concealment" | ||||||
|   | |||||||
| @@ -1,3 +1,7 @@ | |||||||
|  | # 3.5 | ||||||
|  |  | ||||||
|  | * Run the container image as non root user per default ([#97963](https://github.com/kubernetes/kubernetes/pull/97963)) | ||||||
|  |  | ||||||
| # 3.4.1 | # 3.4.1 | ||||||
|  |  | ||||||
| * Support for Windows container images (OS Versions: 20H2) was added.([#97322](https://prs.k8s.io/97322), [@claudiubelu](https://github.com/claudiubelu)) | * Support for Windows container images (OS Versions: 20H2) was added.([#97322](https://prs.k8s.io/97322), [@claudiubelu](https://github.com/claudiubelu)) | ||||||
|   | |||||||
| @@ -160,7 +160,7 @@ export WINDOWS_KUBEPROXY_KUBECONFIG_FILE="${WINDOWS_K8S_DIR}\kubeproxy.kubeconfi | |||||||
| # Path for kube-proxy kubeconfig file on Windows nodes. | # Path for kube-proxy kubeconfig file on Windows nodes. | ||||||
| export WINDOWS_NODEPROBLEMDETECTOR_KUBECONFIG_FILE="${WINDOWS_K8S_DIR}\node-problem-detector.kubeconfig" | export WINDOWS_NODEPROBLEMDETECTOR_KUBECONFIG_FILE="${WINDOWS_K8S_DIR}\node-problem-detector.kubeconfig" | ||||||
| # Pause container image for Windows container. | # Pause container image for Windows container. | ||||||
| export WINDOWS_INFRA_CONTAINER="k8s.gcr.io/pause:3.4.1" | export WINDOWS_INFRA_CONTAINER="k8s.gcr.io/pause:3.5" | ||||||
| # Storage Path for csi-proxy. csi-proxy only needs to be installed for Windows. | # Storage Path for csi-proxy. csi-proxy only needs to be installed for Windows. | ||||||
| export CSI_PROXY_STORAGE_PATH="https://storage.googleapis.com/gke-release/csi-proxy" | export CSI_PROXY_STORAGE_PATH="https://storage.googleapis.com/gke-release/csi-proxy" | ||||||
| # Version for csi-proxy | # Version for csi-proxy | ||||||
|   | |||||||
| @@ -358,7 +358,7 @@ spec: | |||||||
|     spec: |     spec: | ||||||
|       containers: |       containers: | ||||||
|       - name: pause-win |       - name: pause-win | ||||||
|         image: k8s.gcr.io/pause:3.4.1 |         image: k8s.gcr.io/pause:3.5 | ||||||
|       nodeSelector: |       nodeSelector: | ||||||
|         kubernetes.io/os: windows |         kubernetes.io/os: windows | ||||||
|       tolerations: |       tolerations: | ||||||
|   | |||||||
| @@ -394,7 +394,7 @@ const ( | |||||||
| 	ModeNode string = "Node" | 	ModeNode string = "Node" | ||||||
|  |  | ||||||
| 	// PauseVersion indicates the default pause image version for kubeadm | 	// PauseVersion indicates the default pause image version for kubeadm | ||||||
| 	PauseVersion = "3.4.1" | 	PauseVersion = "3.5" | ||||||
|  |  | ||||||
| 	// CgroupDriverSystemd holds the systemd driver type | 	// CgroupDriverSystemd holds the systemd driver type | ||||||
| 	CgroupDriverSystemd = "systemd" | 	CgroupDriverSystemd = "systemd" | ||||||
|   | |||||||
| @@ -119,11 +119,11 @@ func TestBuildKubeletArgMap(t *testing.T) { | |||||||
| 				nodeRegOpts: &kubeadmapi.NodeRegistrationOptions{ | 				nodeRegOpts: &kubeadmapi.NodeRegistrationOptions{ | ||||||
| 					CRISocket: "/var/run/dockershim.sock", | 					CRISocket: "/var/run/dockershim.sock", | ||||||
| 				}, | 				}, | ||||||
| 				pauseImage: "gcr.io/pause:3.4.1", | 				pauseImage: "gcr.io/pause:3.5", | ||||||
| 			}, | 			}, | ||||||
| 			expected: map[string]string{ | 			expected: map[string]string{ | ||||||
| 				"network-plugin":            "cni", | 				"network-plugin":            "cni", | ||||||
| 				"pod-infra-container-image": "gcr.io/pause:3.4.1", | 				"pod-infra-container-image": "gcr.io/pause:3.5", | ||||||
| 			}, | 			}, | ||||||
| 		}, | 		}, | ||||||
| 	} | 	} | ||||||
|   | |||||||
| @@ -21,9 +21,9 @@ import ( | |||||||
| ) | ) | ||||||
|  |  | ||||||
| const ( | const ( | ||||||
| 	validTmpl    = "image: {{ .ImageRepository }}/pause:3.4.1" | 	validTmpl    = "image: {{ .ImageRepository }}/pause:3.5" | ||||||
| 	validTmplOut = "image: k8s.gcr.io/pause:3.4.1" | 	validTmplOut = "image: k8s.gcr.io/pause:3.5" | ||||||
| 	doNothing    = "image: k8s.gcr.io/pause:3.4.1" | 	doNothing    = "image: k8s.gcr.io/pause:3.5" | ||||||
| 	invalidTmpl1 = "{{ .baz }/d}" | 	invalidTmpl1 = "{{ .baz }/d}" | ||||||
| 	invalidTmpl2 = "{{ !foobar }}" | 	invalidTmpl2 = "{{ !foobar }}" | ||||||
| ) | ) | ||||||
|   | |||||||
| @@ -28,7 +28,7 @@ import ( | |||||||
| const ( | const ( | ||||||
| 	// When these values are updated, also update test/utils/image/manifest.go | 	// When these values are updated, also update test/utils/image/manifest.go | ||||||
| 	defaultPodSandboxImageName    = "k8s.gcr.io/pause" | 	defaultPodSandboxImageName    = "k8s.gcr.io/pause" | ||||||
| 	defaultPodSandboxImageVersion = "3.4.1" | 	defaultPodSandboxImageVersion = "3.5" | ||||||
| ) | ) | ||||||
|  |  | ||||||
| var ( | var ( | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								hack/testdata/filter/pod-apply-selector.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								hack/testdata/filter/pod-apply-selector.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -8,4 +8,4 @@ metadata: | |||||||
| spec: | spec: | ||||||
|   containers: |   containers: | ||||||
|   - name: kubernetes-pause |   - name: kubernetes-pause | ||||||
|     image: k8s.gcr.io/pause:3.4.1 |     image: k8s.gcr.io/pause:3.5 | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								hack/testdata/filter/pod-dont-apply.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								hack/testdata/filter/pod-dont-apply.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -8,4 +8,4 @@ metadata: | |||||||
| spec: | spec: | ||||||
|   containers: |   containers: | ||||||
|   - name: kubernetes-pause |   - name: kubernetes-pause | ||||||
|     image: k8s.gcr.io/pause:3.4.1 |     image: k8s.gcr.io/pause:3.5 | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								hack/testdata/multi-resource-1.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								hack/testdata/multi-resource-1.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -11,7 +11,7 @@ metadata: | |||||||
| spec: | spec: | ||||||
|   containers: |   containers: | ||||||
|   - name: kubernetes-pause |   - name: kubernetes-pause | ||||||
|     image: k8s.gcr.io/pause:3.4.1 |     image: k8s.gcr.io/pause:3.5 | ||||||
| --- | --- | ||||||
| apiVersion: v1 | apiVersion: v1 | ||||||
| kind: Namespace | kind: Namespace | ||||||
|   | |||||||
							
								
								
									
										6
									
								
								hack/testdata/multi-resource-3.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								hack/testdata/multi-resource-3.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -8,7 +8,7 @@ metadata: | |||||||
| spec: | spec: | ||||||
|   containers: |   containers: | ||||||
|   - name: kubernetes-pause |   - name: kubernetes-pause | ||||||
|     image: k8s.gcr.io/pause:3.4.1 |     image: k8s.gcr.io/pause:3.5 | ||||||
| --- | --- | ||||||
| apiVersion: v1 | apiVersion: v1 | ||||||
| kind: Pod | kind: Pod | ||||||
| @@ -17,7 +17,7 @@ metadata: | |||||||
| spec: | spec: | ||||||
|   containers: |   containers: | ||||||
|   - name: kubernetes-pause |   - name: kubernetes-pause | ||||||
|     image: k8s.gcr.io/pause:3.4.1 |     image: k8s.gcr.io/pause:3.5 | ||||||
| --- | --- | ||||||
| apiVersion: v1 | apiVersion: v1 | ||||||
| kind: Pod | kind: Pod | ||||||
| @@ -26,5 +26,5 @@ metadata: | |||||||
| spec: | spec: | ||||||
|   containers: |   containers: | ||||||
|   - name: kubernetes-pause |   - name: kubernetes-pause | ||||||
|     image: k8s.gcr.io/pause:3.4.1 |     image: k8s.gcr.io/pause:3.5 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -43,7 +43,7 @@ | |||||||
|        "spec":{ |        "spec":{ | ||||||
|          "containers":[{ |          "containers":[{ | ||||||
|            "name": "mock-container", |            "name": "mock-container", | ||||||
|            "image": "k8s.gcr.io/pause:3.4.1", |            "image": "k8s.gcr.io/pause:3.5", | ||||||
|            "ports":[{ |            "ports":[{ | ||||||
|              "containerPort":9949, |              "containerPort":9949, | ||||||
|              "protocol":"TCP" |              "protocol":"TCP" | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								hack/testdata/multi-resource-json.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								hack/testdata/multi-resource-json.json
									
									
									
									
										vendored
									
									
								
							| @@ -41,7 +41,7 @@ | |||||||
|        "spec":{ |        "spec":{ | ||||||
|          "containers":[{ |          "containers":[{ | ||||||
|            "name": "mock-container", |            "name": "mock-container", | ||||||
|            "image": "k8s.gcr.io/pause:3.4.1", |            "image": "k8s.gcr.io/pause:3.5", | ||||||
|            "ports":[{ |            "ports":[{ | ||||||
|              "containerPort":9949, |              "containerPort":9949, | ||||||
|              "protocol":"TCP" |              "protocol":"TCP" | ||||||
|   | |||||||
| @@ -47,7 +47,7 @@ | |||||||
|                "spec":{ |                "spec":{ | ||||||
|                   "containers":[{ |                   "containers":[{ | ||||||
|                     "name": "mock-container", |                     "name": "mock-container", | ||||||
|                     "image": "k8s.gcr.io/pause:3.4.1", |                     "image": "k8s.gcr.io/pause:3.5", | ||||||
|                     "ports":[{ |                     "ports":[{ | ||||||
|                         "containerPort":9949, |                         "containerPort":9949, | ||||||
|                         "protocol":"TCP" |                         "protocol":"TCP" | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								hack/testdata/multi-resource-list.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								hack/testdata/multi-resource-list.json
									
									
									
									
										vendored
									
									
								
							| @@ -45,7 +45,7 @@ | |||||||
|                "spec":{ |                "spec":{ | ||||||
|                   "containers":[{ |                   "containers":[{ | ||||||
|                     "name": "mock-container", |                     "name": "mock-container", | ||||||
|                     "image": "k8s.gcr.io/pause:3.4.1", |                     "image": "k8s.gcr.io/pause:3.5", | ||||||
|                     "ports":[{ |                     "ports":[{ | ||||||
|                         "containerPort":9949, |                         "containerPort":9949, | ||||||
|                         "protocol":"TCP" |                         "protocol":"TCP" | ||||||
|   | |||||||
| @@ -26,7 +26,7 @@ | |||||||
|                "spec":{ |                "spec":{ | ||||||
|                   "containers":[{ |                   "containers":[{ | ||||||
|                     "name": "mock-container", |                     "name": "mock-container", | ||||||
|                     "image": "k8s.gcr.io/pause:3.4.1", |                     "image": "k8s.gcr.io/pause:3.5", | ||||||
|                     "ports":[{ |                     "ports":[{ | ||||||
|                         "containerPort":9949, |                         "containerPort":9949, | ||||||
|                         "protocol":"TCP" |                         "protocol":"TCP" | ||||||
| @@ -60,7 +60,7 @@ | |||||||
|             "spec":{ |             "spec":{ | ||||||
|               "containers":[{ |               "containers":[{ | ||||||
|                 "name": "mock-container", |                 "name": "mock-container", | ||||||
|                 "image": "k8s.gcr.io/pause:3.4.1", |                 "image": "k8s.gcr.io/pause:3.5", | ||||||
|                 "ports":[{ |                 "ports":[{ | ||||||
|                   "containerPort":9949, |                   "containerPort":9949, | ||||||
|                   "protocol":"TCP" |                   "protocol":"TCP" | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								hack/testdata/multi-resource-rclist.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								hack/testdata/multi-resource-rclist.json
									
									
									
									
										vendored
									
									
								
							| @@ -26,7 +26,7 @@ | |||||||
|                "spec":{ |                "spec":{ | ||||||
|                   "containers":[{ |                   "containers":[{ | ||||||
|                     "name": "mock-container", |                     "name": "mock-container", | ||||||
|                     "image": "k8s.gcr.io/pause:3.4.1", |                     "image": "k8s.gcr.io/pause:3.5", | ||||||
|                     "ports":[{ |                     "ports":[{ | ||||||
|                         "containerPort":9949, |                         "containerPort":9949, | ||||||
|                         "protocol":"TCP" |                         "protocol":"TCP" | ||||||
| @@ -60,7 +60,7 @@ | |||||||
|             "spec":{ |             "spec":{ | ||||||
|               "containers":[{ |               "containers":[{ | ||||||
|                 "name": "mock-container", |                 "name": "mock-container", | ||||||
|                 "image": "k8s.gcr.io/pause:3.4.1", |                 "image": "k8s.gcr.io/pause:3.5", | ||||||
|                 "ports":[{ |                 "ports":[{ | ||||||
|                   "containerPort":9949, |                   "containerPort":9949, | ||||||
|                   "protocol":"TCP" |                   "protocol":"TCP" | ||||||
|   | |||||||
| @@ -29,7 +29,7 @@ spec: | |||||||
|     spec: |     spec: | ||||||
|       containers: |       containers: | ||||||
|       - name: mock-container |       - name: mock-container | ||||||
|         image: k8s.gcr.io/pause:3.4.1 |         image: k8s.gcr.io/pause:3.5 | ||||||
|         ports: |         ports: | ||||||
|         - containerPort: 9949 |         - containerPort: 9949 | ||||||
|           protocol: TCP |           protocol: TCP | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								hack/testdata/multi-resource-yaml.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								hack/testdata/multi-resource-yaml.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -27,7 +27,7 @@ spec: | |||||||
|     spec: |     spec: | ||||||
|       containers: |       containers: | ||||||
|       - name: mock-container |       - name: mock-container | ||||||
|         image: k8s.gcr.io/pause:3.4.1 |         image: k8s.gcr.io/pause:3.5 | ||||||
|         ports: |         ports: | ||||||
|         - containerPort: 9949 |         - containerPort: 9949 | ||||||
|           protocol: TCP |           protocol: TCP | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								hack/testdata/pod-apply.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								hack/testdata/pod-apply.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -7,4 +7,4 @@ metadata: | |||||||
| spec: | spec: | ||||||
|   containers: |   containers: | ||||||
|   - name: kubernetes-pause |   - name: kubernetes-pause | ||||||
|     image: k8s.gcr.io/pause:3.4.1 |     image: k8s.gcr.io/pause:3.5 | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								hack/testdata/pod-with-precision.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								hack/testdata/pod-with-precision.json
									
									
									
									
										vendored
									
									
								
							| @@ -9,7 +9,7 @@ | |||||||
|     "containers": [ |     "containers": [ | ||||||
|       { |       { | ||||||
|         "name": "kubernetes-pause", |         "name": "kubernetes-pause", | ||||||
|         "image": "k8s.gcr.io/pause:3.4.1" |         "image": "k8s.gcr.io/pause:3.5" | ||||||
|       } |       } | ||||||
|     ], |     ], | ||||||
|     "restartPolicy": "Never", |     "restartPolicy": "Never", | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								hack/testdata/pod.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								hack/testdata/pod.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -7,4 +7,4 @@ metadata: | |||||||
| spec: | spec: | ||||||
|   containers: |   containers: | ||||||
|   - name: kubernetes-pause |   - name: kubernetes-pause | ||||||
|     image: k8s.gcr.io/pause:3.4.1 |     image: k8s.gcr.io/pause:3.5 | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								hack/testdata/prune/a.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								hack/testdata/prune/a.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -7,4 +7,4 @@ metadata: | |||||||
| spec: | spec: | ||||||
|   containers: |   containers: | ||||||
|   - name: kubernetes-pause |   - name: kubernetes-pause | ||||||
|     image: k8s.gcr.io/pause:3.4.1 |     image: k8s.gcr.io/pause:3.5 | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								hack/testdata/prune/b.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								hack/testdata/prune/b.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -8,4 +8,4 @@ metadata: | |||||||
| spec: | spec: | ||||||
|   containers: |   containers: | ||||||
|   - name: kubernetes-pause |   - name: kubernetes-pause | ||||||
|     image: k8s.gcr.io/pause:3.4.1 |     image: k8s.gcr.io/pause:3.5 | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								hack/testdata/sorted-pods/sorted-pod1.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								hack/testdata/sorted-pods/sorted-pod1.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -8,4 +8,4 @@ metadata: | |||||||
| spec: | spec: | ||||||
|   containers: |   containers: | ||||||
|   - name: kubernetes-pause2 |   - name: kubernetes-pause2 | ||||||
|     image: k8s.gcr.io/pause:3.4.1 |     image: k8s.gcr.io/pause:3.5 | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								hack/testdata/sorted-pods/sorted-pod2.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								hack/testdata/sorted-pods/sorted-pod2.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -8,4 +8,4 @@ metadata: | |||||||
| spec: | spec: | ||||||
|   containers: |   containers: | ||||||
|   - name: kubernetes-pause1 |   - name: kubernetes-pause1 | ||||||
|     image: k8s.gcr.io/pause:3.4.1 |     image: k8s.gcr.io/pause:3.5 | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								hack/testdata/sorted-pods/sorted-pod3.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								hack/testdata/sorted-pods/sorted-pod3.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -8,4 +8,4 @@ metadata: | |||||||
| spec: | spec: | ||||||
|   containers: |   containers: | ||||||
|   - name: kubernetes-pause3 |   - name: kubernetes-pause3 | ||||||
|     image: k8s.gcr.io/pause:3.4.1 |     image: k8s.gcr.io/pause:3.5 | ||||||
|   | |||||||
| @@ -40,7 +40,7 @@ import ( | |||||||
| ) | ) | ||||||
|  |  | ||||||
| const ( | const ( | ||||||
| 	defaultSandboxImage = "k8s.gcr.io/pause:3.4.1" | 	defaultSandboxImage = "k8s.gcr.io/pause:3.5" | ||||||
|  |  | ||||||
| 	// Various default sandbox resources requests/limits. | 	// Various default sandbox resources requests/limits. | ||||||
| 	defaultSandboxCPUshares int64 = 2 | 	defaultSandboxCPUshares int64 = 2 | ||||||
|   | |||||||
| @@ -13,7 +13,7 @@ spec: | |||||||
|     spec: |     spec: | ||||||
|       containers: |       containers: | ||||||
|       - name: mock-container |       - name: mock-container | ||||||
|         image: k8s.gcr.io/pause:3.4.1 |         image: k8s.gcr.io/pause:3.5 | ||||||
| --- | --- | ||||||
| apiVersion: v1 | apiVersion: v1 | ||||||
| kind: ReplicationController | kind: ReplicationController | ||||||
| @@ -30,4 +30,4 @@ spec: | |||||||
|     spec: |     spec: | ||||||
|       containers: |       containers: | ||||||
|       - name: mock-container |       - name: mock-container | ||||||
|         image: k8s.gcr.io/pause:3.4.1 |         image: k8s.gcr.io/pause:3.5 | ||||||
|   | |||||||
| @@ -14,4 +14,4 @@ spec: | |||||||
|     spec: |     spec: | ||||||
|       containers: |       containers: | ||||||
|       - name: mock-container |       - name: mock-container | ||||||
|         image: k8s.gcr.io/pause:3.4.1 |         image: k8s.gcr.io/pause:3.5 | ||||||
|   | |||||||
| @@ -537,9 +537,9 @@ run_pod_tests() { | |||||||
|   kube::test::get_object_assert pods "{{range.items}}{{$image_field}}:{{end}}" 'changed-with-yaml:' |   kube::test::get_object_assert pods "{{range.items}}{{$image_field}}:{{end}}" 'changed-with-yaml:' | ||||||
|   ## Patch pod from JSON can change image |   ## Patch pod from JSON can change image | ||||||
|   # Command |   # Command | ||||||
|   kubectl patch "${kube_flags[@]}" -f test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml -p='{"spec":{"containers":[{"name": "kubernetes-serve-hostname", "image": "k8s.gcr.io/pause:3.4.1"}]}}' |   kubectl patch "${kube_flags[@]}" -f test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml -p='{"spec":{"containers":[{"name": "kubernetes-serve-hostname", "image": "k8s.gcr.io/pause:3.5"}]}}' | ||||||
|   # Post-condition: valid-pod POD has expected image |   # Post-condition: valid-pod POD has expected image | ||||||
|   kube::test::get_object_assert pods "{{range.items}}{{$image_field}}:{{end}}" 'k8s.gcr.io/pause:3.4.1:' |   kube::test::get_object_assert pods "{{range.items}}{{$image_field}}:{{end}}" 'k8s.gcr.io/pause:3.5:' | ||||||
|  |  | ||||||
|   # pod has field for kubectl patch field manager |   # pod has field for kubectl patch field manager | ||||||
|   output_message=$(kubectl get pod valid-pod -o=jsonpath='{.metadata.managedFields[*].manager}' "${kube_flags[@]:?}" 2>&1) |   output_message=$(kubectl get pod valid-pod -o=jsonpath='{.metadata.managedFields[*].manager}' "${kube_flags[@]:?}" 2>&1) | ||||||
|   | |||||||
| @@ -81,6 +81,6 @@ spec: | |||||||
|         - name: root-mount |         - name: root-mount | ||||||
|           mountPath: /root |           mountPath: /root | ||||||
|       containers: |       containers: | ||||||
|       - image: "k8s.gcr.io/pause:3.4.1" |       - image: "k8s.gcr.io/pause:3.5" | ||||||
|         name: pause |         name: pause | ||||||
|  |  | ||||||
|   | |||||||
| @@ -13,7 +13,7 @@ spec: | |||||||
|     spec: |     spec: | ||||||
|       containers: |       containers: | ||||||
|       - name: mock-container |       - name: mock-container | ||||||
|         image: k8s.gcr.io/pause:3.4.1 |         image: k8s.gcr.io/pause:3.5 | ||||||
| --- | --- | ||||||
| apiVersion: v1 | apiVersion: v1 | ||||||
| kind: ReplicationController | kind: ReplicationController | ||||||
| @@ -30,4 +30,4 @@ spec: | |||||||
|     spec: |     spec: | ||||||
|       containers: |       containers: | ||||||
|       - name: mock-container |       - name: mock-container | ||||||
|         image: k8s.gcr.io/pause:3.4.1 |         image: k8s.gcr.io/pause:3.5 | ||||||
|   | |||||||
| @@ -14,4 +14,4 @@ spec: | |||||||
|     spec: |     spec: | ||||||
|       containers: |       containers: | ||||||
|       - name: mock-container |       - name: mock-container | ||||||
|         image: k8s.gcr.io/pause:3.4.1 |         image: k8s.gcr.io/pause:3.5 | ||||||
|   | |||||||
| @@ -17,7 +17,7 @@ | |||||||
|        "spec": { |        "spec": { | ||||||
|            "containers": [{ |            "containers": [{ | ||||||
|              "name": "test-container", |              "name": "test-container", | ||||||
|              "image": "k8s.gcr.io/pause:3.4.1" |              "image": "k8s.gcr.io/pause:3.5" | ||||||
|            }] |            }] | ||||||
|        } |        } | ||||||
|     } |     } | ||||||
|   | |||||||
| @@ -4,5 +4,5 @@ metadata: | |||||||
|   generateName: pod-churn- |   generateName: pod-churn- | ||||||
| spec: | spec: | ||||||
|   containers: |   containers: | ||||||
|   - image: k8s.gcr.io/pause:3.4.1 |   - image: k8s.gcr.io/pause:3.5 | ||||||
|     name: pause |     name: pause | ||||||
|   | |||||||
| @@ -4,7 +4,7 @@ metadata: | |||||||
|   generateName: pod- |   generateName: pod- | ||||||
| spec: | spec: | ||||||
|   containers: |   containers: | ||||||
|   - image: k8s.gcr.io/pause:3.4.1 |   - image: k8s.gcr.io/pause:3.5 | ||||||
|     name: pause |     name: pause | ||||||
|     ports: |     ports: | ||||||
|     - containerPort: 80 |     - containerPort: 80 | ||||||
|   | |||||||
| @@ -5,7 +5,7 @@ metadata: | |||||||
| spec: | spec: | ||||||
|   priority: 10 |   priority: 10 | ||||||
|   containers: |   containers: | ||||||
|   - image: k8s.gcr.io/pause:3.4.1 |   - image: k8s.gcr.io/pause:3.5 | ||||||
|     name: pause |     name: pause | ||||||
|     ports: |     ports: | ||||||
|     - containerPort: 80 |     - containerPort: 80 | ||||||
|   | |||||||
| @@ -4,7 +4,7 @@ metadata: | |||||||
|   generateName: pod- |   generateName: pod- | ||||||
| spec: | spec: | ||||||
|   containers: |   containers: | ||||||
|   - image: k8s.gcr.io/pause:3.4.1 |   - image: k8s.gcr.io/pause:3.5 | ||||||
|     name: pause |     name: pause | ||||||
|     ports: |     ports: | ||||||
|     - containerPort: 80 |     - containerPort: 80 | ||||||
|   | |||||||
| @@ -5,7 +5,7 @@ metadata: | |||||||
| spec: | spec: | ||||||
|   terminationGracePeriodSeconds: 0 |   terminationGracePeriodSeconds: 0 | ||||||
|   containers: |   containers: | ||||||
|   - image: k8s.gcr.io/pause:3.4.1 |   - image: k8s.gcr.io/pause:3.5 | ||||||
|     name: pause |     name: pause | ||||||
|     ports: |     ports: | ||||||
|     - containerPort: 80 |     - containerPort: 80 | ||||||
|   | |||||||
| @@ -14,7 +14,7 @@ spec: | |||||||
|             - zone1 |             - zone1 | ||||||
|             - zone2 |             - zone2 | ||||||
|   containers: |   containers: | ||||||
|   - image: k8s.gcr.io/pause:3.4.1 |   - image: k8s.gcr.io/pause:3.5 | ||||||
|     name: pause |     name: pause | ||||||
|     ports: |     ports: | ||||||
|     - containerPort: 80 |     - containerPort: 80 | ||||||
|   | |||||||
| @@ -14,7 +14,7 @@ spec: | |||||||
|         topologyKey: topology.kubernetes.io/zone |         topologyKey: topology.kubernetes.io/zone | ||||||
|         namespaces: ["sched-test", "sched-setup"] |         namespaces: ["sched-test", "sched-setup"] | ||||||
|   containers: |   containers: | ||||||
|   - image: k8s.gcr.io/pause:3.4.1 |   - image: k8s.gcr.io/pause:3.5 | ||||||
|     name: pause |     name: pause | ||||||
|     ports: |     ports: | ||||||
|     - containerPort: 80 |     - containerPort: 80 | ||||||
|   | |||||||
| @@ -14,7 +14,7 @@ spec: | |||||||
|         topologyKey: kubernetes.io/hostname |         topologyKey: kubernetes.io/hostname | ||||||
|         namespaces: ["sched-test", "sched-setup"] |         namespaces: ["sched-test", "sched-setup"] | ||||||
|   containers: |   containers: | ||||||
|   - image: k8s.gcr.io/pause:3.4.1 |   - image: k8s.gcr.io/pause:3.5 | ||||||
|     name: pause |     name: pause | ||||||
|     ports: |     ports: | ||||||
|     - containerPort: 80 |     - containerPort: 80 | ||||||
|   | |||||||
| @@ -16,7 +16,7 @@ spec: | |||||||
|             namespaces: ["sched-test", "sched-setup"] |             namespaces: ["sched-test", "sched-setup"] | ||||||
|           weight: 1 |           weight: 1 | ||||||
|   containers: |   containers: | ||||||
|     - image: k8s.gcr.io/pause:3.4.1 |     - image: k8s.gcr.io/pause:3.5 | ||||||
|       name: pause |       name: pause | ||||||
|       ports: |       ports: | ||||||
|         - containerPort: 80 |         - containerPort: 80 | ||||||
|   | |||||||
| @@ -16,7 +16,7 @@ spec: | |||||||
|             namespaces: ["sched-test", "sched-setup"] |             namespaces: ["sched-test", "sched-setup"] | ||||||
|           weight: 1 |           weight: 1 | ||||||
|   containers: |   containers: | ||||||
|     - image: k8s.gcr.io/pause:3.4.1 |     - image: k8s.gcr.io/pause:3.5 | ||||||
|       name: pause |       name: pause | ||||||
|       ports: |       ports: | ||||||
|         - containerPort: 80 |         - containerPort: 80 | ||||||
|   | |||||||
| @@ -13,7 +13,7 @@ spec: | |||||||
|         matchLabels: |         matchLabels: | ||||||
|           color: blue |           color: blue | ||||||
|   containers: |   containers: | ||||||
|   - image: k8s.gcr.io/pause:3.4.1 |   - image: k8s.gcr.io/pause:3.5 | ||||||
|     name: pause |     name: pause | ||||||
|     ports: |     ports: | ||||||
|     - containerPort: 80 |     - containerPort: 80 | ||||||
|   | |||||||
| @@ -4,7 +4,7 @@ metadata: | |||||||
|   generateName: secret-volume- |   generateName: secret-volume- | ||||||
| spec: | spec: | ||||||
|   containers: |   containers: | ||||||
|   - image: k8s.gcr.io/pause:3.4.1 |   - image: k8s.gcr.io/pause:3.5 | ||||||
|     name: pause |     name: pause | ||||||
|     ports: |     ports: | ||||||
|     - containerPort: 80 |     - containerPort: 80 | ||||||
|   | |||||||
| @@ -13,7 +13,7 @@ spec: | |||||||
|         matchLabels: |         matchLabels: | ||||||
|           color: blue |           color: blue | ||||||
|   containers: |   containers: | ||||||
|   - image: k8s.gcr.io/pause:3.4.1 |   - image: k8s.gcr.io/pause:3.5 | ||||||
|     name: pause |     name: pause | ||||||
|     ports: |     ports: | ||||||
|     - containerPort: 80 |     - containerPort: 80 | ||||||
|   | |||||||
| @@ -232,7 +232,7 @@ func initImageConfigs(list RegistryList) (map[int]Config, map[int]Config) { | |||||||
| 	configs[Nonewprivs] = Config{list.PromoterE2eRegistry, "nonewprivs", "1.3"} | 	configs[Nonewprivs] = Config{list.PromoterE2eRegistry, "nonewprivs", "1.3"} | ||||||
| 	configs[NonRoot] = Config{list.PromoterE2eRegistry, "nonroot", "1.1"} | 	configs[NonRoot] = Config{list.PromoterE2eRegistry, "nonroot", "1.1"} | ||||||
| 	// Pause - when these values are updated, also update cmd/kubelet/app/options/container_runtime.go | 	// Pause - when these values are updated, also update cmd/kubelet/app/options/container_runtime.go | ||||||
| 	configs[Pause] = Config{list.GcRegistry, "pause", "3.4.1"} | 	configs[Pause] = Config{list.GcRegistry, "pause", "3.5"} | ||||||
| 	configs[Perl] = Config{list.PromoterE2eRegistry, "perl", "5.26"} | 	configs[Perl] = Config{list.PromoterE2eRegistry, "perl", "5.26"} | ||||||
| 	configs[PrometheusDummyExporter] = Config{list.GcRegistry, "prometheus-dummy-exporter", "v0.1.0"} | 	configs[PrometheusDummyExporter] = Config{list.GcRegistry, "prometheus-dummy-exporter", "v0.1.0"} | ||||||
| 	configs[PrometheusToSd] = Config{list.GcRegistry, "prometheus-to-sd", "v0.5.0"} | 	configs[PrometheusToSd] = Config{list.GcRegistry, "prometheus-to-sd", "v0.5.0"} | ||||||
|   | |||||||
| @@ -1303,7 +1303,7 @@ func MakePodSpec() v1.PodSpec { | |||||||
| 	return v1.PodSpec{ | 	return v1.PodSpec{ | ||||||
| 		Containers: []v1.Container{{ | 		Containers: []v1.Container{{ | ||||||
| 			Name:  "pause", | 			Name:  "pause", | ||||||
| 			Image: "k8s.gcr.io/pause:3.4.1", | 			Image: "k8s.gcr.io/pause:3.5", | ||||||
| 			Ports: []v1.ContainerPort{{ContainerPort: 80}}, | 			Ports: []v1.ContainerPort{{ContainerPort: 80}}, | ||||||
| 			Resources: v1.ResourceRequirements{ | 			Resources: v1.ResourceRequirements{ | ||||||
| 				Limits: v1.ResourceList{ | 				Limits: v1.ResourceList{ | ||||||
| @@ -1725,7 +1725,7 @@ type DaemonConfig struct { | |||||||
|  |  | ||||||
| func (config *DaemonConfig) Run() error { | func (config *DaemonConfig) Run() error { | ||||||
| 	if config.Image == "" { | 	if config.Image == "" { | ||||||
| 		config.Image = "k8s.gcr.io/pause:3.4.1" | 		config.Image = "k8s.gcr.io/pause:3.5" | ||||||
| 	} | 	} | ||||||
| 	nameLabel := map[string]string{ | 	nameLabel := map[string]string{ | ||||||
| 		"name": config.Name + "-daemon", | 		"name": config.Name + "-daemon", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Sascha Grunert
					Sascha Grunert