From c9f16948acf93d59d80fd9dd65a65be1436d1cd5 Mon Sep 17 00:00:00 2001 From: samdulam Date: Tue, 24 Sep 2024 02:24:13 +0530 Subject: [PATCH] Update for Release 2.21.2 and kind cluster version upgrade for test --- .github/workflows/on-push-lint-charts.yml | 32 +++++++++---------- charts/portainer/Chart.yaml | 4 +-- charts/portainer/values.yaml | 4 +-- .../agent/ee/agent-stack-windows.yml | 2 +- deploy/manifests/agent/ee/agent-stack.yml | 2 +- .../agent/ee/portainer-agent-edge-k8s.yaml | 2 +- .../agent/ee/portainer-agent-k8s-lb.yaml | 2 +- .../ee/portainer-agent-k8s-nodeport.yaml | 2 +- .../agent/portainer-agent-edge-k8s.yaml | 2 +- .../agent/portainer-agent-k8s-lb.yaml | 2 +- .../agent/portainer-agent-k8s-nodeport.yaml | 2 +- deploy/manifests/portainer/portainer-ee.yaml | 12 +++---- .../manifests/portainer/portainer-lb-ee.yaml | 12 +++---- deploy/manifests/portainer/portainer-lb.yaml | 12 +++---- deploy/manifests/portainer/portainer.yaml | 12 +++---- 15 files changed, 52 insertions(+), 52 deletions(-) diff --git a/.github/workflows/on-push-lint-charts.yml b/.github/workflows/on-push-lint-charts.yml index 3eae9e5..336d7ba 100644 --- a/.github/workflows/on-push-lint-charts.yml +++ b/.github/workflows/on-push-lint-charts.yml @@ -62,42 +62,42 @@ jobs: run: ct lint --config .ci/ct-config.yaml # Refer to https://github.com/kubernetes-sigs/kind/releases when updating the node_images - - name: Create 1.23 kind cluster + - name: Create 1.28 kind cluster uses: helm/kind-action@v1.4.0 with: - node_image: kindest/node:v1.23.13@sha256:ef453bb7c79f0e3caba88d2067d4196f427794086a7d0df8df4f019d5e336b61 - cluster_name: kubernetes-1.23 + node_image: kindest/node:v1.28.13@sha256:45d319897776e11167e4698f6b14938eb4d52eb381d9e3d7a9086c16c69a8110 + cluster_name: kubernetes-1.28 if: steps.list-changed.outputs.changed == 'true' - - name: Run chart-testing (install) against 1.23 + - name: Run chart-testing (install) against 1.28 run: ct install --config .ci/ct-config.yaml - - name: Create 1.24 kind cluster + - name: Create 1.29 kind cluster uses: helm/kind-action@v1.4.0 with: - node_image: kindest/node:v1.24.12@sha256:1e12918b8bc3d4253bc08f640a231bb0d3b2c5a9b28aa3f2ca1aee93e1e8db16 - cluster_name: kubernetes-1.24 + node_image: kindest/node:v1.29.8@sha256:d46b7aa29567e93b27f7531d258c372e829d7224b25e3fc6ffdefed12476d3aa + cluster_name: kubernetes-1.29 if: steps.list-changed.outputs.changed == 'true' - - name: Run chart-testing (install) against 1.24 + - name: Run chart-testing (install) against 1.29 run: ct install --config .ci/ct-config.yaml - - name: Create 1.25 kind cluster + - name: Create 1.30 kind cluster uses: helm/kind-action@v1.4.0 with: - node_image: kindest/node:v1.25.8@sha256:00d3f5314cc35327706776e95b2f8e504198ce59ac545d0200a89e69fce10b7f - cluster_name: kubernetes-1.25 + node_image: kindest/node:v1.30.4@sha256:976ea815844d5fa93be213437e3ff5754cd599b040946b5cca43ca45c2047114 + cluster_name: kubernetes-1.30 if: steps.list-changed.outputs.changed == 'true' - - name: Run chart-testing (install) against 1.25 + - name: Run chart-testing (install) against 1.30 run: ct install --config .ci/ct-config.yaml - - name: Create 1.26 kind cluster + - name: Create 1.31 kind cluster uses: helm/kind-action@v1.4.0 with: - node_image: kindest/node:v1.26.3@sha256:61b92f38dff6ccc29969e7aa154d34e38b89443af1a2c14e6cfbd2df6419c66f - cluster_name: kubernetes-1.26 + node_image: kindest/node:v1.31.0@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865 + cluster_name: kubernetes-1.31 if: steps.list-changed.outputs.changed == 'true' - - name: Run chart-testing (install) against 1.26 + - name: Run chart-testing (install) against 1.31 run: ct install --config .ci/ct-config.yaml \ No newline at end of file diff --git a/charts/portainer/Chart.yaml b/charts/portainer/Chart.yaml index cba74e4..a1ac56f 100644 --- a/charts/portainer/Chart.yaml +++ b/charts/portainer/Chart.yaml @@ -17,11 +17,11 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 1.0.53 +version: 1.0.54 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. -appVersion: ce-latest-ee-2.21.1 +appVersion: ce-latest-ee-2.21.2 sources: - https://github.com/portainer/k8s diff --git a/charts/portainer/values.yaml b/charts/portainer/values.yaml index 3f9bb27..874fc3e 100644 --- a/charts/portainer/values.yaml +++ b/charts/portainer/values.yaml @@ -9,12 +9,12 @@ enterpriseEdition: enabled: false image: repository: portainer/portainer-ee - tag: 2.21.1 + tag: 2.21.2 pullPolicy: Always image: repository: portainer/portainer-ce - tag: 2.21.1 + tag: 2.21.2 pullPolicy: Always imagePullSecrets: [] diff --git a/deploy/manifests/agent/ee/agent-stack-windows.yml b/deploy/manifests/agent/ee/agent-stack-windows.yml index 172f979..d2bff01 100644 --- a/deploy/manifests/agent/ee/agent-stack-windows.yml +++ b/deploy/manifests/agent/ee/agent-stack-windows.yml @@ -1,7 +1,7 @@ version: '3.3' services: agent: - image: portainer/agent:2.21.1 + image: portainer/agent:2.21.2 ports: - target: 9001 published: 9001 diff --git a/deploy/manifests/agent/ee/agent-stack.yml b/deploy/manifests/agent/ee/agent-stack.yml index ae5e148..d7a54f7 100644 --- a/deploy/manifests/agent/ee/agent-stack.yml +++ b/deploy/manifests/agent/ee/agent-stack.yml @@ -2,7 +2,7 @@ version: '3.2' services: agent: - image: portainer/agent:2.21.1 + image: portainer/agent:2.21.2 volumes: - /var/run/docker.sock:/var/run/docker.sock - /var/lib/docker/volumes:/var/lib/docker/volumes diff --git a/deploy/manifests/agent/ee/portainer-agent-edge-k8s.yaml b/deploy/manifests/agent/ee/portainer-agent-edge-k8s.yaml index 382842d..2e4f8f1 100644 --- a/deploy/manifests/agent/ee/portainer-agent-edge-k8s.yaml +++ b/deploy/manifests/agent/ee/portainer-agent-edge-k8s.yaml @@ -65,7 +65,7 @@ spec: serviceAccountName: portainer-sa-clusteradmin containers: - name: portainer-agent - image: portainer/agent:2.21.1 + image: portainer/agent:2.21.2 imagePullPolicy: Always env: - name: LOG_LEVEL diff --git a/deploy/manifests/agent/ee/portainer-agent-k8s-lb.yaml b/deploy/manifests/agent/ee/portainer-agent-k8s-lb.yaml index cb016ae..0e0c9c3 100644 --- a/deploy/manifests/agent/ee/portainer-agent-k8s-lb.yaml +++ b/deploy/manifests/agent/ee/portainer-agent-k8s-lb.yaml @@ -64,7 +64,7 @@ spec: serviceAccountName: portainer-sa-clusteradmin containers: - name: portainer-agent - image: portainer/agent:2.21.1 + image: portainer/agent:2.21.2 imagePullPolicy: Always env: - name: LOG_LEVEL diff --git a/deploy/manifests/agent/ee/portainer-agent-k8s-nodeport.yaml b/deploy/manifests/agent/ee/portainer-agent-k8s-nodeport.yaml index 5767829..db6331e 100644 --- a/deploy/manifests/agent/ee/portainer-agent-k8s-nodeport.yaml +++ b/deploy/manifests/agent/ee/portainer-agent-k8s-nodeport.yaml @@ -65,7 +65,7 @@ spec: serviceAccountName: portainer-sa-clusteradmin containers: - name: portainer-agent - image: portainer/agent:2.21.1 + image: portainer/agent:2.21.2 imagePullPolicy: Always env: - name: LOG_LEVEL diff --git a/deploy/manifests/agent/portainer-agent-edge-k8s.yaml b/deploy/manifests/agent/portainer-agent-edge-k8s.yaml index 382842d..2e4f8f1 100644 --- a/deploy/manifests/agent/portainer-agent-edge-k8s.yaml +++ b/deploy/manifests/agent/portainer-agent-edge-k8s.yaml @@ -65,7 +65,7 @@ spec: serviceAccountName: portainer-sa-clusteradmin containers: - name: portainer-agent - image: portainer/agent:2.21.1 + image: portainer/agent:2.21.2 imagePullPolicy: Always env: - name: LOG_LEVEL diff --git a/deploy/manifests/agent/portainer-agent-k8s-lb.yaml b/deploy/manifests/agent/portainer-agent-k8s-lb.yaml index cb016ae..0e0c9c3 100644 --- a/deploy/manifests/agent/portainer-agent-k8s-lb.yaml +++ b/deploy/manifests/agent/portainer-agent-k8s-lb.yaml @@ -64,7 +64,7 @@ spec: serviceAccountName: portainer-sa-clusteradmin containers: - name: portainer-agent - image: portainer/agent:2.21.1 + image: portainer/agent:2.21.2 imagePullPolicy: Always env: - name: LOG_LEVEL diff --git a/deploy/manifests/agent/portainer-agent-k8s-nodeport.yaml b/deploy/manifests/agent/portainer-agent-k8s-nodeport.yaml index 5767829..db6331e 100644 --- a/deploy/manifests/agent/portainer-agent-k8s-nodeport.yaml +++ b/deploy/manifests/agent/portainer-agent-k8s-nodeport.yaml @@ -65,7 +65,7 @@ spec: serviceAccountName: portainer-sa-clusteradmin containers: - name: portainer-agent - image: portainer/agent:2.21.1 + image: portainer/agent:2.21.2 imagePullPolicy: Always env: - name: LOG_LEVEL diff --git a/deploy/manifests/portainer/portainer-ee.yaml b/deploy/manifests/portainer/portainer-ee.yaml index 0d35567..19c9731 100644 --- a/deploy/manifests/portainer/portainer-ee.yaml +++ b/deploy/manifests/portainer/portainer-ee.yaml @@ -14,7 +14,7 @@ metadata: labels: app.kubernetes.io/name: portainer app.kubernetes.io/instance: portainer - app.kubernetes.io/version: "ce-latest-ee-2.21.1" + app.kubernetes.io/version: "ce-latest-ee-2.21.2" --- # Source: portainer/templates/pvc.yaml kind: "PersistentVolumeClaim" @@ -28,7 +28,7 @@ metadata: io.portainer.kubernetes.application.stack: portainer app.kubernetes.io/name: portainer app.kubernetes.io/instance: portainer - app.kubernetes.io/version: "ce-latest-ee-2.21.1" + app.kubernetes.io/version: "ce-latest-ee-2.21.2" spec: accessModes: - "ReadWriteOnce" @@ -44,7 +44,7 @@ metadata: labels: app.kubernetes.io/name: portainer app.kubernetes.io/instance: portainer - app.kubernetes.io/version: "ce-latest-ee-2.21.1" + app.kubernetes.io/version: "ce-latest-ee-2.21.2" roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -64,7 +64,7 @@ metadata: io.portainer.kubernetes.application.stack: portainer app.kubernetes.io/name: portainer app.kubernetes.io/instance: portainer - app.kubernetes.io/version: "ce-latest-ee-2.21.1" + app.kubernetes.io/version: "ce-latest-ee-2.21.2" spec: type: NodePort ports: @@ -97,7 +97,7 @@ metadata: io.portainer.kubernetes.application.stack: portainer app.kubernetes.io/name: portainer app.kubernetes.io/instance: portainer - app.kubernetes.io/version: "ce-latest-ee-2.21.1" + app.kubernetes.io/version: "ce-latest-ee-2.21.2" spec: replicas: 1 strategy: @@ -121,7 +121,7 @@ spec: claimName: portainer containers: - name: portainer - image: "portainer/portainer-ee:2.21.1" + image: "portainer/portainer-ee:2.21.2" imagePullPolicy: Always args: - '--tunnel-port=30776' diff --git a/deploy/manifests/portainer/portainer-lb-ee.yaml b/deploy/manifests/portainer/portainer-lb-ee.yaml index 8a37c50..6b485d5 100644 --- a/deploy/manifests/portainer/portainer-lb-ee.yaml +++ b/deploy/manifests/portainer/portainer-lb-ee.yaml @@ -14,7 +14,7 @@ metadata: labels: app.kubernetes.io/name: portainer app.kubernetes.io/instance: portainer - app.kubernetes.io/version: "ce-latest-ee-2.21.1" + app.kubernetes.io/version: "ce-latest-ee-2.21.2" --- # Source: portainer/templates/pvc.yaml kind: "PersistentVolumeClaim" @@ -28,7 +28,7 @@ metadata: io.portainer.kubernetes.application.stack: portainer app.kubernetes.io/name: portainer app.kubernetes.io/instance: portainer - app.kubernetes.io/version: "ce-latest-ee-2.21.1" + app.kubernetes.io/version: "ce-latest-ee-2.21.2" spec: accessModes: - "ReadWriteOnce" @@ -44,7 +44,7 @@ metadata: labels: app.kubernetes.io/name: portainer app.kubernetes.io/instance: portainer - app.kubernetes.io/version: "ce-latest-ee-2.21.1" + app.kubernetes.io/version: "ce-latest-ee-2.21.2" roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -64,7 +64,7 @@ metadata: io.portainer.kubernetes.application.stack: portainer app.kubernetes.io/name: portainer app.kubernetes.io/instance: portainer - app.kubernetes.io/version: "ce-latest-ee-2.21.1" + app.kubernetes.io/version: "ce-latest-ee-2.21.2" spec: type: LoadBalancer ports: @@ -94,7 +94,7 @@ metadata: io.portainer.kubernetes.application.stack: portainer app.kubernetes.io/name: portainer app.kubernetes.io/instance: portainer - app.kubernetes.io/version: "ce-latest-ee-2.21.1" + app.kubernetes.io/version: "ce-latest-ee-2.21.2" spec: replicas: 1 strategy: @@ -118,7 +118,7 @@ spec: claimName: portainer containers: - name: portainer - image: "portainer/portainer-ee:2.21.1" + image: "portainer/portainer-ee:2.21.2" imagePullPolicy: Always args: volumeMounts: diff --git a/deploy/manifests/portainer/portainer-lb.yaml b/deploy/manifests/portainer/portainer-lb.yaml index d5abce1..ce72a2d 100644 --- a/deploy/manifests/portainer/portainer-lb.yaml +++ b/deploy/manifests/portainer/portainer-lb.yaml @@ -14,7 +14,7 @@ metadata: labels: app.kubernetes.io/name: portainer app.kubernetes.io/instance: portainer - app.kubernetes.io/version: "ce-latest-ee-2.21.1" + app.kubernetes.io/version: "ce-latest-ee-2.21.2" --- # Source: portainer/templates/pvc.yaml kind: "PersistentVolumeClaim" @@ -28,7 +28,7 @@ metadata: io.portainer.kubernetes.application.stack: portainer app.kubernetes.io/name: portainer app.kubernetes.io/instance: portainer - app.kubernetes.io/version: "ce-latest-ee-2.21.1" + app.kubernetes.io/version: "ce-latest-ee-2.21.2" spec: accessModes: - "ReadWriteOnce" @@ -44,7 +44,7 @@ metadata: labels: app.kubernetes.io/name: portainer app.kubernetes.io/instance: portainer - app.kubernetes.io/version: "ce-latest-ee-2.21.1" + app.kubernetes.io/version: "ce-latest-ee-2.21.2" roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -64,7 +64,7 @@ metadata: io.portainer.kubernetes.application.stack: portainer app.kubernetes.io/name: portainer app.kubernetes.io/instance: portainer - app.kubernetes.io/version: "ce-latest-ee-2.21.1" + app.kubernetes.io/version: "ce-latest-ee-2.21.2" spec: type: LoadBalancer ports: @@ -94,7 +94,7 @@ metadata: io.portainer.kubernetes.application.stack: portainer app.kubernetes.io/name: portainer app.kubernetes.io/instance: portainer - app.kubernetes.io/version: "ce-latest-ee-2.21.1" + app.kubernetes.io/version: "ce-latest-ee-2.21.2" spec: replicas: 1 strategy: @@ -118,7 +118,7 @@ spec: claimName: portainer containers: - name: portainer - image: "portainer/portainer-ce:2.21.1" + image: "portainer/portainer-ce:2.21.2" imagePullPolicy: Always args: volumeMounts: diff --git a/deploy/manifests/portainer/portainer.yaml b/deploy/manifests/portainer/portainer.yaml index 7d3ca97..d113447 100644 --- a/deploy/manifests/portainer/portainer.yaml +++ b/deploy/manifests/portainer/portainer.yaml @@ -14,7 +14,7 @@ metadata: labels: app.kubernetes.io/name: portainer app.kubernetes.io/instance: portainer - app.kubernetes.io/version: "ce-latest-ee-2.21.1" + app.kubernetes.io/version: "ce-latest-ee-2.21.2" --- # Source: portainer/templates/pvc.yaml kind: "PersistentVolumeClaim" @@ -28,7 +28,7 @@ metadata: io.portainer.kubernetes.application.stack: portainer app.kubernetes.io/name: portainer app.kubernetes.io/instance: portainer - app.kubernetes.io/version: "ce-latest-ee-2.21.1" + app.kubernetes.io/version: "ce-latest-ee-2.21.2" spec: accessModes: - "ReadWriteOnce" @@ -44,7 +44,7 @@ metadata: labels: app.kubernetes.io/name: portainer app.kubernetes.io/instance: portainer - app.kubernetes.io/version: "ce-latest-ee-2.21.1" + app.kubernetes.io/version: "ce-latest-ee-2.21.2" roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -64,7 +64,7 @@ metadata: io.portainer.kubernetes.application.stack: portainer app.kubernetes.io/name: portainer app.kubernetes.io/instance: portainer - app.kubernetes.io/version: "ce-latest-ee-2.21.1" + app.kubernetes.io/version: "ce-latest-ee-2.21.2" spec: type: NodePort ports: @@ -97,7 +97,7 @@ metadata: io.portainer.kubernetes.application.stack: portainer app.kubernetes.io/name: portainer app.kubernetes.io/instance: portainer - app.kubernetes.io/version: "ce-latest-ee-2.21.1" + app.kubernetes.io/version: "ce-latest-ee-2.21.2" spec: replicas: 1 strategy: @@ -121,7 +121,7 @@ spec: claimName: portainer containers: - name: portainer - image: "portainer/portainer-ce:2.21.1" + image: "portainer/portainer-ce:2.21.2" imagePullPolicy: Always args: - '--tunnel-port=30776'