2.27.1 Release + Ci Workflow Updates (#164)

* release 2.27.0

* 2.27.1 Release + ci workflow updates

* add helm version

* update actions

* update workflow

* change helm version to be compatible
pull/165/head portainer-1.0.61
samdulam 2025-02-27 11:44:45 +05:30 committed by GitHub
parent 70eac4ed30
commit 0e14d24fe8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
15 changed files with 61 additions and 57 deletions

View File

@ -12,17 +12,19 @@ on:
env: env:
KUBE_SCORE_VERSION: 1.10.0 KUBE_SCORE_VERSION: 1.10.0
HELM_VERSION: v3.4.1 HELM_VERSION: v3.10.1
jobs: jobs:
lint-test: lint-test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v1 uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Helm - name: Set up Helm
uses: azure/setup-helm@v1 uses: azure/setup-helm@v4.2.0
with: with:
version: ${{ env.HELM_VERSION }} version: ${{ env.HELM_VERSION }}
@ -43,12 +45,14 @@ jobs:
--enable-optional-test container-security-context-privileged --enable-optional-test container-security-context-privileged
# python is a requirement for the chart-testing action below (supports yamllint among other tests) # python is a requirement for the chart-testing action below (supports yamllint among other tests)
- uses: actions/setup-python@v2 - uses: actions/setup-python@v5.3.0
with: with:
python-version: 3.13.1 python-version: 3.13.1
- name: Set up chart-testing - name: Set up chart-testing
uses: helm/chart-testing-action@v2.0.1 uses: helm/chart-testing-action@v2.6.1
with:
version: v3.10.1
- name: Run chart-testing (list-changed) - name: Run chart-testing (list-changed)
id: list-changed id: list-changed
@ -62,20 +66,10 @@ jobs:
run: ct lint --config .ci/ct-config.yaml run: ct lint --config .ci/ct-config.yaml
# Refer to https://github.com/kubernetes-sigs/kind/releases when updating the node_images # Refer to https://github.com/kubernetes-sigs/kind/releases when updating the node_images
- name: Create 1.28 kind cluster
uses: helm/kind-action@v1.4.0
with:
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.28
run: ct install --config .ci/ct-config.yaml
- name: Create 1.29 kind cluster - name: Create 1.29 kind cluster
uses: helm/kind-action@v1.4.0 uses: helm/kind-action@v1.12.0
with: with:
node_image: kindest/node:v1.29.8@sha256:d46b7aa29567e93b27f7531d258c372e829d7224b25e3fc6ffdefed12476d3aa node_image: kindest/node:v1.29.14@sha256:8703bd94ee24e51b778d5556ae310c6c0fa67d761fae6379c8e0bb480e6fea29
cluster_name: kubernetes-1.29 cluster_name: kubernetes-1.29
if: steps.list-changed.outputs.changed == 'true' if: steps.list-changed.outputs.changed == 'true'
@ -83,9 +77,9 @@ jobs:
run: ct install --config .ci/ct-config.yaml run: ct install --config .ci/ct-config.yaml
- name: Create 1.30 kind cluster - name: Create 1.30 kind cluster
uses: helm/kind-action@v1.4.0 uses: helm/kind-action@v1.12.0
with: with:
node_image: kindest/node:v1.30.4@sha256:976ea815844d5fa93be213437e3ff5754cd599b040946b5cca43ca45c2047114 node_image: kindest/node:v1.30.10@sha256:4de75d0e82481ea846c0ed1de86328d821c1e6a6a91ac37bf804e5313670e507
cluster_name: kubernetes-1.30 cluster_name: kubernetes-1.30
if: steps.list-changed.outputs.changed == 'true' if: steps.list-changed.outputs.changed == 'true'
@ -93,11 +87,21 @@ jobs:
run: ct install --config .ci/ct-config.yaml run: ct install --config .ci/ct-config.yaml
- name: Create 1.31 kind cluster - name: Create 1.31 kind cluster
uses: helm/kind-action@v1.4.0 uses: helm/kind-action@v1.12.0
with: with:
node_image: kindest/node:v1.31.0@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865 node_image: kindest/node:v1.31.6@sha256:28b7cbb993dfe093c76641a0c95807637213c9109b761f1d422c2400e22b8e87
cluster_name: kubernetes-1.31 cluster_name: kubernetes-1.31
if: steps.list-changed.outputs.changed == 'true' if: steps.list-changed.outputs.changed == 'true'
- name: Run chart-testing (install) against 1.31 - name: Run chart-testing (install) against 1.31
run: ct install --config .ci/ct-config.yaml run: ct install --config .ci/ct-config.yaml
- name: Create 1.32 kind cluster
uses: helm/kind-action@v1.12.0
with:
node_image: kindest/node:v1.32.2@sha256:f226345927d7e348497136874b6d207e0b32cc52154ad8323129352923a3142f
cluster_name: kubernetes-1.32
if: steps.list-changed.outputs.changed == 'true'
- name: Run chart-testing (install) against 1.32
run: ct install --config .ci/ct-config.yaml

View File

@ -17,10 +17,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # 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. # to the chart and its templates, including the app version.
version: 1.0.60 version: 1.0.61
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. # incremented each time you make changes to the application.
appVersion: ce-latest-ee-2.27.0 appVersion: ce-latest-ee-2.27.1
sources: sources:
- https://github.com/portainer/k8s - https://github.com/portainer/k8s

View File

@ -9,12 +9,12 @@ enterpriseEdition:
enabled: false enabled: false
image: image:
repository: portainer/portainer-ee repository: portainer/portainer-ee
tag: 2.27.0 tag: 2.27.1
pullPolicy: Always pullPolicy: Always
image: image:
repository: portainer/portainer-ce repository: portainer/portainer-ce
tag: 2.27.0 tag: 2.27.1
pullPolicy: Always pullPolicy: Always
imagePullSecrets: [] imagePullSecrets: []

View File

@ -1,7 +1,7 @@
version: '3.3' version: '3.3'
services: services:
agent: agent:
image: portainer/agent:2.27.0 image: portainer/agent:2.27.1
ports: ports:
- target: 9001 - target: 9001
published: 9001 published: 9001

View File

@ -2,7 +2,7 @@ version: '3.2'
services: services:
agent: agent:
image: portainer/agent:2.27.0 image: portainer/agent:2.27.1
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker/volumes:/var/lib/docker/volumes - /var/lib/docker/volumes:/var/lib/docker/volumes

View File

@ -65,7 +65,7 @@ spec:
serviceAccountName: portainer-sa-clusteradmin serviceAccountName: portainer-sa-clusteradmin
containers: containers:
- name: portainer-agent - name: portainer-agent
image: portainer/agent:2.27.0 image: portainer/agent:2.27.1
imagePullPolicy: Always imagePullPolicy: Always
env: env:
- name: LOG_LEVEL - name: LOG_LEVEL

View File

@ -64,7 +64,7 @@ spec:
serviceAccountName: portainer-sa-clusteradmin serviceAccountName: portainer-sa-clusteradmin
containers: containers:
- name: portainer-agent - name: portainer-agent
image: portainer/agent:2.27.0 image: portainer/agent:2.27.1
imagePullPolicy: Always imagePullPolicy: Always
env: env:
- name: LOG_LEVEL - name: LOG_LEVEL

View File

@ -65,7 +65,7 @@ spec:
serviceAccountName: portainer-sa-clusteradmin serviceAccountName: portainer-sa-clusteradmin
containers: containers:
- name: portainer-agent - name: portainer-agent
image: portainer/agent:2.27.0 image: portainer/agent:2.27.1
imagePullPolicy: Always imagePullPolicy: Always
env: env:
- name: LOG_LEVEL - name: LOG_LEVEL

View File

@ -65,7 +65,7 @@ spec:
serviceAccountName: portainer-sa-clusteradmin serviceAccountName: portainer-sa-clusteradmin
containers: containers:
- name: portainer-agent - name: portainer-agent
image: portainer/agent:2.27.0 image: portainer/agent:2.27.1
imagePullPolicy: Always imagePullPolicy: Always
env: env:
- name: LOG_LEVEL - name: LOG_LEVEL

View File

@ -64,7 +64,7 @@ spec:
serviceAccountName: portainer-sa-clusteradmin serviceAccountName: portainer-sa-clusteradmin
containers: containers:
- name: portainer-agent - name: portainer-agent
image: portainer/agent:2.27.0 image: portainer/agent:2.27.1
imagePullPolicy: Always imagePullPolicy: Always
env: env:
- name: LOG_LEVEL - name: LOG_LEVEL

View File

@ -65,7 +65,7 @@ spec:
serviceAccountName: portainer-sa-clusteradmin serviceAccountName: portainer-sa-clusteradmin
containers: containers:
- name: portainer-agent - name: portainer-agent
image: portainer/agent:2.27.0 image: portainer/agent:2.27.1
imagePullPolicy: Always imagePullPolicy: Always
env: env:
- name: LOG_LEVEL - name: LOG_LEVEL

View File

@ -14,7 +14,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: portainer app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.27.0" app.kubernetes.io/version: "ce-latest-ee-2.27.1"
--- ---
# Source: portainer/templates/pvc.yaml # Source: portainer/templates/pvc.yaml
kind: "PersistentVolumeClaim" kind: "PersistentVolumeClaim"
@ -28,7 +28,7 @@ metadata:
io.portainer.kubernetes.application.stack: portainer io.portainer.kubernetes.application.stack: portainer
app.kubernetes.io/name: portainer app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.27.0" app.kubernetes.io/version: "ce-latest-ee-2.27.1"
spec: spec:
accessModes: accessModes:
- "ReadWriteOnce" - "ReadWriteOnce"
@ -44,7 +44,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: portainer app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.27.0" app.kubernetes.io/version: "ce-latest-ee-2.27.1"
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
kind: ClusterRole kind: ClusterRole
@ -64,7 +64,7 @@ metadata:
io.portainer.kubernetes.application.stack: portainer io.portainer.kubernetes.application.stack: portainer
app.kubernetes.io/name: portainer app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.27.0" app.kubernetes.io/version: "ce-latest-ee-2.27.1"
spec: spec:
type: NodePort type: NodePort
ports: ports:
@ -97,7 +97,7 @@ metadata:
io.portainer.kubernetes.application.stack: portainer io.portainer.kubernetes.application.stack: portainer
app.kubernetes.io/name: portainer app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.27.0" app.kubernetes.io/version: "ce-latest-ee-2.27.1"
spec: spec:
replicas: 1 replicas: 1
strategy: strategy:
@ -121,7 +121,7 @@ spec:
claimName: portainer claimName: portainer
containers: containers:
- name: portainer - name: portainer
image: "portainer/portainer-ee:2.27.0" image: "portainer/portainer-ee:2.27.1"
imagePullPolicy: Always imagePullPolicy: Always
args: args:
- '--tunnel-port=30776' - '--tunnel-port=30776'

View File

@ -14,7 +14,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: portainer app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.27.0" app.kubernetes.io/version: "ce-latest-ee-2.27.1"
--- ---
# Source: portainer/templates/pvc.yaml # Source: portainer/templates/pvc.yaml
kind: "PersistentVolumeClaim" kind: "PersistentVolumeClaim"
@ -28,7 +28,7 @@ metadata:
io.portainer.kubernetes.application.stack: portainer io.portainer.kubernetes.application.stack: portainer
app.kubernetes.io/name: portainer app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.27.0" app.kubernetes.io/version: "ce-latest-ee-2.27.1"
spec: spec:
accessModes: accessModes:
- "ReadWriteOnce" - "ReadWriteOnce"
@ -44,7 +44,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: portainer app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.27.0" app.kubernetes.io/version: "ce-latest-ee-2.27.1"
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
kind: ClusterRole kind: ClusterRole
@ -64,7 +64,7 @@ metadata:
io.portainer.kubernetes.application.stack: portainer io.portainer.kubernetes.application.stack: portainer
app.kubernetes.io/name: portainer app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.27.0" app.kubernetes.io/version: "ce-latest-ee-2.27.1"
spec: spec:
type: LoadBalancer type: LoadBalancer
ports: ports:
@ -94,7 +94,7 @@ metadata:
io.portainer.kubernetes.application.stack: portainer io.portainer.kubernetes.application.stack: portainer
app.kubernetes.io/name: portainer app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.27.0" app.kubernetes.io/version: "ce-latest-ee-2.27.1"
spec: spec:
replicas: 1 replicas: 1
strategy: strategy:
@ -118,7 +118,7 @@ spec:
claimName: portainer claimName: portainer
containers: containers:
- name: portainer - name: portainer
image: "portainer/portainer-ee:2.27.0" image: "portainer/portainer-ee:2.27.1"
imagePullPolicy: Always imagePullPolicy: Always
args: args:
volumeMounts: volumeMounts:

View File

@ -14,7 +14,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: portainer app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.27.0" app.kubernetes.io/version: "ce-latest-ee-2.27.1"
--- ---
# Source: portainer/templates/pvc.yaml # Source: portainer/templates/pvc.yaml
kind: "PersistentVolumeClaim" kind: "PersistentVolumeClaim"
@ -28,7 +28,7 @@ metadata:
io.portainer.kubernetes.application.stack: portainer io.portainer.kubernetes.application.stack: portainer
app.kubernetes.io/name: portainer app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.27.0" app.kubernetes.io/version: "ce-latest-ee-2.27.1"
spec: spec:
accessModes: accessModes:
- "ReadWriteOnce" - "ReadWriteOnce"
@ -44,7 +44,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: portainer app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.27.0" app.kubernetes.io/version: "ce-latest-ee-2.27.1"
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
kind: ClusterRole kind: ClusterRole
@ -64,7 +64,7 @@ metadata:
io.portainer.kubernetes.application.stack: portainer io.portainer.kubernetes.application.stack: portainer
app.kubernetes.io/name: portainer app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.27.0" app.kubernetes.io/version: "ce-latest-ee-2.27.1"
spec: spec:
type: LoadBalancer type: LoadBalancer
ports: ports:
@ -94,7 +94,7 @@ metadata:
io.portainer.kubernetes.application.stack: portainer io.portainer.kubernetes.application.stack: portainer
app.kubernetes.io/name: portainer app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.27.0" app.kubernetes.io/version: "ce-latest-ee-2.27.1"
spec: spec:
replicas: 1 replicas: 1
strategy: strategy:
@ -118,7 +118,7 @@ spec:
claimName: portainer claimName: portainer
containers: containers:
- name: portainer - name: portainer
image: "portainer/portainer-ce:2.27.0" image: "portainer/portainer-ce:2.27.1"
imagePullPolicy: Always imagePullPolicy: Always
args: args:
volumeMounts: volumeMounts:

View File

@ -14,7 +14,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: portainer app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.27.0" app.kubernetes.io/version: "ce-latest-ee-2.27.1"
--- ---
# Source: portainer/templates/pvc.yaml # Source: portainer/templates/pvc.yaml
kind: "PersistentVolumeClaim" kind: "PersistentVolumeClaim"
@ -28,7 +28,7 @@ metadata:
io.portainer.kubernetes.application.stack: portainer io.portainer.kubernetes.application.stack: portainer
app.kubernetes.io/name: portainer app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.27.0" app.kubernetes.io/version: "ce-latest-ee-2.27.1"
spec: spec:
accessModes: accessModes:
- "ReadWriteOnce" - "ReadWriteOnce"
@ -44,7 +44,7 @@ metadata:
labels: labels:
app.kubernetes.io/name: portainer app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.27.0" app.kubernetes.io/version: "ce-latest-ee-2.27.1"
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
kind: ClusterRole kind: ClusterRole
@ -64,7 +64,7 @@ metadata:
io.portainer.kubernetes.application.stack: portainer io.portainer.kubernetes.application.stack: portainer
app.kubernetes.io/name: portainer app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.27.0" app.kubernetes.io/version: "ce-latest-ee-2.27.1"
spec: spec:
type: NodePort type: NodePort
ports: ports:
@ -97,7 +97,7 @@ metadata:
io.portainer.kubernetes.application.stack: portainer io.portainer.kubernetes.application.stack: portainer
app.kubernetes.io/name: portainer app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.27.0" app.kubernetes.io/version: "ce-latest-ee-2.27.1"
spec: spec:
replicas: 1 replicas: 1
strategy: strategy:
@ -121,7 +121,7 @@ spec:
claimName: portainer claimName: portainer
containers: containers:
- name: portainer - name: portainer
image: "portainer/portainer-ce:2.27.0" image: "portainer/portainer-ce:2.27.1"
imagePullPolicy: Always imagePullPolicy: Always
args: args:
- '--tunnel-port=30776' - '--tunnel-port=30776'