Compare commits

...

15 Commits

Author SHA1 Message Date
samdulam bc906681d9
release update (#167) 2025-04-15 12:22:03 +05:30
samdulam 7d76af4fc5
release 2.27.3 (#166) 2025-03-25 08:33:39 +05:30
samdulam c425562ecb
release 2.27.2 (#165) 2025-03-19 09:53:27 +05:30
samdulam 0e14d24fe8
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
2025-02-27 11:44:45 +05:30
samdulam 70eac4ed30
release 2.27.0 (#163) 2025-02-20 10:46:38 +05:30
samdulam c935295160
Release 2.21.5 (#158)
* Release 2.21.5

* python version fix
2024-12-20 14:25:59 +13:00
mwoudstra 962188051e
Add option to set tolerations (#155)
* Add option to set tolerations

* Bump chart version
2024-11-07 10:24:41 +05:30
samdulam aba1aa8f56
2.21.4 release (#156) 2024-10-25 08:33:01 +05:30
samdulam e0206df0d2
bump chart version (#153) 2024-10-18 15:09:14 +05:30
eMagiz a0248dda9f
Optional field for rbac resources (#151)
* Optional field for rbac resources

* Feedback changes

* Feedback II

* rbac to localMgmt in the values file

---------

Co-authored-by: Omar Gadelmawla <o.gadelmawla@emagiz.com>
2024-10-18 19:25:33 +13:00
James Carppe 5087dd9170
Update Helm chart for 2.21.3 (#152) 2024-10-08 17:21:35 +13:00
James Carppe 4272809504
Update for Release 2.21.2 and kind cluster version upgrade for test (#149)
Co-authored-by: samdulam <sam.dulam@portainer.io>
2024-09-24 14:02:48 +12:00
James Carppe c3a4bb19c5
Update for 2.21.1 (#148) 2024-09-10 08:02:05 +05:30
samdulam b9723d814d
Update for 2.21.0 (#147) 2024-08-27 07:53:38 +05:30
James Carppe 70d24842cb
Version bump for 2.19.5 (#143) 2024-04-22 10:04:47 +05:30
20 changed files with 83 additions and 65 deletions

View File

@ -12,17 +12,19 @@ on:
env:
KUBE_SCORE_VERSION: 1.10.0
HELM_VERSION: v3.4.1
HELM_VERSION: v3.10.1
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@v1
uses: azure/setup-helm@v4.2.0
with:
version: ${{ env.HELM_VERSION }}
@ -43,12 +45,14 @@ jobs:
--enable-optional-test container-security-context-privileged
# 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:
python-version: 3.7
python-version: 3.13.1
- 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)
id: list-changed
@ -62,42 +66,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
uses: helm/kind-action@v1.4.0
- name: Create 1.29 kind cluster
uses: helm/kind-action@v1.12.0
with:
node_image: kindest/node:v1.23.13@sha256:ef453bb7c79f0e3caba88d2067d4196f427794086a7d0df8df4f019d5e336b61
cluster_name: kubernetes-1.23
node_image: kindest/node:v1.29.14@sha256:8703bd94ee24e51b778d5556ae310c6c0fa67d761fae6379c8e0bb480e6fea29
cluster_name: kubernetes-1.29
if: steps.list-changed.outputs.changed == 'true'
- name: Run chart-testing (install) against 1.23
- name: Run chart-testing (install) against 1.29
run: ct install --config .ci/ct-config.yaml
- name: Create 1.24 kind cluster
uses: helm/kind-action@v1.4.0
- name: Create 1.30 kind cluster
uses: helm/kind-action@v1.12.0
with:
node_image: kindest/node:v1.24.12@sha256:1e12918b8bc3d4253bc08f640a231bb0d3b2c5a9b28aa3f2ca1aee93e1e8db16
cluster_name: kubernetes-1.24
node_image: kindest/node:v1.30.10@sha256:4de75d0e82481ea846c0ed1de86328d821c1e6a6a91ac37bf804e5313670e507
cluster_name: kubernetes-1.30
if: steps.list-changed.outputs.changed == 'true'
- name: Run chart-testing (install) against 1.24
- name: Run chart-testing (install) against 1.30
run: ct install --config .ci/ct-config.yaml
- name: Create 1.25 kind cluster
uses: helm/kind-action@v1.4.0
- name: Create 1.31 kind cluster
uses: helm/kind-action@v1.12.0
with:
node_image: kindest/node:v1.25.8@sha256:00d3f5314cc35327706776e95b2f8e504198ce59ac545d0200a89e69fce10b7f
cluster_name: kubernetes-1.25
node_image: kindest/node:v1.31.6@sha256:28b7cbb993dfe093c76641a0c95807637213c9109b761f1d422c2400e22b8e87
cluster_name: kubernetes-1.31
if: steps.list-changed.outputs.changed == 'true'
- name: Run chart-testing (install) against 1.25
- name: Run chart-testing (install) against 1.31
run: ct install --config .ci/ct-config.yaml
- name: Create 1.26 kind cluster
uses: helm/kind-action@v1.4.0
- name: Create 1.32 kind cluster
uses: helm/kind-action@v1.12.0
with:
node_image: kindest/node:v1.26.3@sha256:61b92f38dff6ccc29969e7aa154d34e38b89443af1a2c14e6cfbd2df6419c66f
cluster_name: kubernetes-1.26
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.26
- name: Run chart-testing (install) against 1.32
run: ct install --config .ci/ct-config.yaml

View File

@ -17,11 +17,10 @@ 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.50
version: 1.0.64
# 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.19.4
appVersion: ce-latest-ee-2.27.4
sources:
- https://github.com/portainer/k8s

View File

@ -64,6 +64,7 @@ The following table lists the configurable parameters of the Portainer chart and
| `nodeSelector` | Used to apply a nodeSelector to the deployment | `{}` |
| `serviceAccount.annotations` | Annotations to add to the service account | `null` |
| `serviceAccount.name` | The name of the service account to use | `portainer-sa-clusteradmin` |
| `localMgmt` | Enables or disables the creation of SA, Roles in local cluster where Portainer runs, only change when you don't need to manage the local cluster through this Portainer instance | `true` |
| `service.type` | Service Type for the main Portainer Service; ClusterIP, NodePort and LoadBalancer | `LoadBalancer` |
| `service.httpPort` | HTTP port for accessing Portainer Web | `9000` |
| `service.httpNodePort` | Static NodePort for accessing Portainer Web. Specify only if the type is NodePort | `30777` |

View File

@ -18,12 +18,15 @@ spec:
labels:
{{- include "portainer.selectorLabels" . | nindent 8 }}
spec:
nodeSelector: {{- toYaml .Values.nodeSelector | nindent 8 -}}
nodeSelector: {{- toYaml .Values.nodeSelector | nindent 8 }}
tolerations: {{- toYaml .Values.tolerations | nindent 8 -}}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.localMgmt }}
serviceAccountName: {{ include "portainer.serviceAccountName" . }}
{{- end }}
volumes:
{{- if .Values.persistence.enabled }}
- name: "data"

View File

@ -3,4 +3,6 @@ apiVersion: v1
kind: Namespace
metadata:
name: portainer
labels:
pod-security.kubernetes.io/enforce: privileged
{{ end }}

View File

@ -1,3 +1,4 @@
{{- if .Values.localMgmt }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
@ -11,4 +12,5 @@ roleRef:
subjects:
- kind: ServiceAccount
namespace: {{ .Release.Namespace }}
name: {{ include "portainer.serviceAccountName" . }}
name: {{ include "portainer.serviceAccountName" . }}
{{- end }}

View File

@ -1,3 +1,4 @@
{{- if .Values.localMgmt }}
apiVersion: v1
kind: ServiceAccount
metadata:
@ -9,3 +10,4 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}

View File

@ -9,22 +9,27 @@ enterpriseEdition:
enabled: false
image:
repository: portainer/portainer-ee
tag: 2.19.4
tag: 2.27.4
pullPolicy: Always
image:
repository: portainer/portainer-ce
tag: 2.19.4
tag: 2.27.4
pullPolicy: Always
imagePullSecrets: []
nodeSelector: {}
tolerations: []
serviceAccount:
annotations: {}
name: portainer-sa-clusteradmin
# This flag provides the ability to enable or disable RBAC-related resources during the deployment of the Portainer application
# If you are using Portainer to manage the K8s cluster it is deployed to, this flag must be set to true
localMgmt: true
service:
# Set the httpNodePort and edgeNodePort only if the type is NodePort
# For Ingress, set the type to be ClusterIP and set ingress.enabled to true

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -14,7 +14,7 @@ metadata:
labels:
app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.19.4"
app.kubernetes.io/version: "ce-latest-ee-2.27.4"
---
# 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.19.4"
app.kubernetes.io/version: "ce-latest-ee-2.27.4"
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.19.4"
app.kubernetes.io/version: "ce-latest-ee-2.27.4"
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.19.4"
app.kubernetes.io/version: "ce-latest-ee-2.27.4"
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.19.4"
app.kubernetes.io/version: "ce-latest-ee-2.27.4"
spec:
replicas: 1
strategy:
@ -121,7 +121,7 @@ spec:
claimName: portainer
containers:
- name: portainer
image: "portainer/portainer-ee:2.19.4"
image: "portainer/portainer-ee:2.27.4"
imagePullPolicy: Always
args:
- '--tunnel-port=30776'

View File

@ -14,7 +14,7 @@ metadata:
labels:
app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.19.4"
app.kubernetes.io/version: "ce-latest-ee-2.27.4"
---
# 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.19.4"
app.kubernetes.io/version: "ce-latest-ee-2.27.4"
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.19.4"
app.kubernetes.io/version: "ce-latest-ee-2.27.4"
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.19.4"
app.kubernetes.io/version: "ce-latest-ee-2.27.4"
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.19.4"
app.kubernetes.io/version: "ce-latest-ee-2.27.4"
spec:
replicas: 1
strategy:
@ -118,7 +118,7 @@ spec:
claimName: portainer
containers:
- name: portainer
image: "portainer/portainer-ee:2.19.4"
image: "portainer/portainer-ee:2.27.4"
imagePullPolicy: Always
args:
volumeMounts:

View File

@ -14,7 +14,7 @@ metadata:
labels:
app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.19.4"
app.kubernetes.io/version: "ce-latest-ee-2.27.4"
---
# 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.19.4"
app.kubernetes.io/version: "ce-latest-ee-2.27.4"
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.19.4"
app.kubernetes.io/version: "ce-latest-ee-2.27.4"
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.19.4"
app.kubernetes.io/version: "ce-latest-ee-2.27.4"
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.19.4"
app.kubernetes.io/version: "ce-latest-ee-2.27.4"
spec:
replicas: 1
strategy:
@ -118,7 +118,7 @@ spec:
claimName: portainer
containers:
- name: portainer
image: "portainer/portainer-ce:2.19.4"
image: "portainer/portainer-ce:2.27.4"
imagePullPolicy: Always
args:
volumeMounts:

View File

@ -14,7 +14,7 @@ metadata:
labels:
app.kubernetes.io/name: portainer
app.kubernetes.io/instance: portainer
app.kubernetes.io/version: "ce-latest-ee-2.19.4"
app.kubernetes.io/version: "ce-latest-ee-2.27.4"
---
# 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.19.4"
app.kubernetes.io/version: "ce-latest-ee-2.27.4"
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.19.4"
app.kubernetes.io/version: "ce-latest-ee-2.27.4"
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.19.4"
app.kubernetes.io/version: "ce-latest-ee-2.27.4"
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.19.4"
app.kubernetes.io/version: "ce-latest-ee-2.27.4"
spec:
replicas: 1
strategy:
@ -121,7 +121,7 @@ spec:
claimName: portainer
containers:
- name: portainer
image: "portainer/portainer-ce:2.19.4"
image: "portainer/portainer-ce:2.27.4"
imagePullPolicy: Always
args:
- '--tunnel-port=30776'