From 90353737626234652bb1fb6f4dc78a704ca0a51e Mon Sep 17 00:00:00 2001 From: Vojdan Kjorveziroski <vojdan.kjorveziroski@finki.ukim.mk> Date: Thu, 17 Apr 2025 11:11:09 +0200 Subject: [PATCH 01/20] bump chart version to 2.0.2-alpha.1 --- charts/nmaas/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/nmaas/Chart.yaml b/charts/nmaas/Chart.yaml index 6a26142..f8d605f 100644 --- a/charts/nmaas/Chart.yaml +++ b/charts/nmaas/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 name: nmaas description: GÉANT Network Management as a Service Helm chart for Kubernetes -version: 2.0.1 -appVersion: 1.7.1 +version: 2.0.2-alpha.1 +appVersion: 1.8.0 keywords: - Network Management - Cloud Deployment -- GitLab From 9e20206e18758ddb110345e8045d9da4d97856b7 Mon Sep 17 00:00:00 2001 From: NMaaS Renovate <renovate@nmaas.eu> Date: Thu, 17 Apr 2025 09:11:21 +0000 Subject: [PATCH 02/20] [ci skip] Reconcile changes --- charts/nmaas/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/nmaas/Chart.yaml b/charts/nmaas/Chart.yaml index f8d605f..22a551b 100644 --- a/charts/nmaas/Chart.yaml +++ b/charts/nmaas/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: nmaas description: GÉANT Network Management as a Service Helm chart for Kubernetes version: 2.0.2-alpha.1 -appVersion: 1.8.0 +appVersion: 1.7.1 keywords: - Network Management - Cloud Deployment -- GitLab From 6d4649ac737886cf31108d1e1a1cd7392a92c0c8 Mon Sep 17 00:00:00 2001 From: NMaaS Renovate <renovate@nmaas.eu> Date: Thu, 17 Apr 2025 09:11:39 +0000 Subject: [PATCH 03/20] [ci skip] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4fe1ac6..a7000a4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # nmaas -  +  GÉANT Network Management as a Service Helm chart for Kubernetes -- GitLab From 64990e475edfd113ac540c0b5315cb2d2ad13e70 Mon Sep 17 00:00:00 2001 From: Vojdan Kjorveziroski <vojdan.kjorveziroski@finki.ukim.mk> Date: Sat, 26 Apr 2025 12:55:21 +0200 Subject: [PATCH 04/20] Bump alpha version to 2.0.2-alpha.2 --- charts/nmaas/Chart.yaml | 4 +- .../nmaas-helm-clusterRoleBinding.yaml | 12 ---- .../templates/nmaas-helm-deployment.yaml | 59 ------------------- charts/nmaas/templates/nmaas-helm-pvc.yaml | 17 ------ .../nmaas/templates/nmaas-helm-service.yaml | 19 ------ .../templates/nmaas-helm-serviceAccount.yaml | 6 -- .../templates/nmaas-platform-clusterRole.yaml | 11 ---- .../templates/nmaas-platform-deployment.yaml | 19 ++---- charts/nmaas/values.yaml | 36 ++--------- 9 files changed, 10 insertions(+), 173 deletions(-) delete mode 100644 charts/nmaas/templates/nmaas-helm-clusterRoleBinding.yaml delete mode 100644 charts/nmaas/templates/nmaas-helm-deployment.yaml delete mode 100644 charts/nmaas/templates/nmaas-helm-pvc.yaml delete mode 100644 charts/nmaas/templates/nmaas-helm-service.yaml delete mode 100644 charts/nmaas/templates/nmaas-helm-serviceAccount.yaml delete mode 100644 charts/nmaas/templates/nmaas-platform-clusterRole.yaml diff --git a/charts/nmaas/Chart.yaml b/charts/nmaas/Chart.yaml index 22a551b..de5f32d 100644 --- a/charts/nmaas/Chart.yaml +++ b/charts/nmaas/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 name: nmaas description: GÉANT Network Management as a Service Helm chart for Kubernetes -version: 2.0.2-alpha.1 -appVersion: 1.7.1 +version: 2.0.2-alpha.2 +appVersion: 1.8.0 keywords: - Network Management - Cloud Deployment diff --git a/charts/nmaas/templates/nmaas-helm-clusterRoleBinding.yaml b/charts/nmaas/templates/nmaas-helm-clusterRoleBinding.yaml deleted file mode 100644 index e92642b..0000000 --- a/charts/nmaas/templates/nmaas-helm-clusterRoleBinding.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: {{ .Values.helm.clusterRoleBindingName }} -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: {{ .Values.helm.clusterRoleName }} -subjects: -- kind: ServiceAccount - name: {{ .Values.helm.serviceAccountName }} - namespace: {{ .Release.Namespace }} \ No newline at end of file diff --git a/charts/nmaas/templates/nmaas-helm-deployment.yaml b/charts/nmaas/templates/nmaas-helm-deployment.yaml deleted file mode 100644 index 3ebf9eb..0000000 --- a/charts/nmaas/templates/nmaas-helm-deployment.yaml +++ /dev/null @@ -1,59 +0,0 @@ -{{- if .Values.helm.enabled -}} -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ .Values.helm.name }} - labels: - app: {{ .Values.helm.name }} - chart: {{ .Chart.Name }}-{{ .Chart.Version }} - heritage: {{ .Release.Service }} - release: {{ .Release.Name }} -spec: - selector: - matchLabels: - app: {{ .Values.helm.name }} - strategy: - type: Recreate - replicas: {{ .Values.replicaCount }} - template: - metadata: - labels: - app: {{ .Values.helm.name }} - spec: - volumes: - - name: {{ .Values.helm.persistence.existingClaim | default (printf "%s-helm" (include "fullname" .)) | quote }} - {{- if .Values.helm.persistence.enabled }} - persistentVolumeClaim: - claimName: {{ .Values.helm.persistence.existingClaim | default (printf "%s-helm" (include "fullname" .)) | quote }} - {{- else }} - emptyDir: {} - {{- end }} - - name: helm-access-key - secret: - secretName: {{ .Values.global.helmAccessKeyPublic }} - {{- if .Values.helm.serviceAccountName }} - serviceAccountName: {{ .Values.helm.serviceAccountName }} - {{- end }} - containers: - - name: {{ .Chart.Name }} - securityContext: - capabilities: - add: - - SYS_CHROOT - image: "{{ .Values.helm.image.repository }}:{{ .Values.helm.image.tag }}" - imagePullPolicy: {{ .Values.helm.image.pullPolicy }} - ports: - - containerPort: {{ .Values.helm.port }} - protocol: TCP - env: - - name: SSH_USERS - value: {{ .Values.helm.properties.users }} - volumeMounts: - - name: helm-access-key - mountPath: /keys - - mountPath: /home/helm/.config/helm - name: {{ .Values.helm.persistence.existingClaim | default (printf "%s-helm" (include "fullname" .)) | quote }} - subPath: helm-config - imagePullSecrets: - - name: {{ .Values.global.registrysecret }} -{{- end -}} diff --git a/charts/nmaas/templates/nmaas-helm-pvc.yaml b/charts/nmaas/templates/nmaas-helm-pvc.yaml deleted file mode 100644 index 806afbf..0000000 --- a/charts/nmaas/templates/nmaas-helm-pvc.yaml +++ /dev/null @@ -1,17 +0,0 @@ -{{- if and (.Values.helm.persistence.enabled) (not .Values.helm.persistence.existingClaim) }} -kind: PersistentVolumeClaim -apiVersion: v1 -metadata: - name: "{{ template "fullname" . }}-helm" - labels: - app: nmaas-helm -spec: - accessModes: - - "{{ .Values.helm.persistence.accessMode }}" - {{- if .Values.helm.persistence.storageClass }} - storageClassName: "{{ .Values.helm.persistence.storageClass }}" - {{- end}} - resources: - requests: - storage: "{{ .Values.helm.persistence.size }}" -{{- end }} \ No newline at end of file diff --git a/charts/nmaas/templates/nmaas-helm-service.yaml b/charts/nmaas/templates/nmaas-helm-service.yaml deleted file mode 100644 index c2a9956..0000000 --- a/charts/nmaas/templates/nmaas-helm-service.yaml +++ /dev/null @@ -1,19 +0,0 @@ -{{- if .Values.helm.enabled -}} -apiVersion: v1 -kind: Service -metadata: - name: {{ .Values.helm.name }} - labels: - app: {{ .Values.helm.name }} - chart: {{ .Chart.Name }}-{{ .Chart.Version }} - heritage: {{ .Release.Service }} - release: {{ .Release.Name }} -spec: - type: {{ .Values.helm.type }} - ports: - - port: {{ .Values.helm.port }} - targetPort: {{ .Values.helm.targetPort }} - protocol: TCP - selector: - app: {{ .Values.helm.name }} -{{- end -}} diff --git a/charts/nmaas/templates/nmaas-helm-serviceAccount.yaml b/charts/nmaas/templates/nmaas-helm-serviceAccount.yaml deleted file mode 100644 index ed68363..0000000 --- a/charts/nmaas/templates/nmaas-helm-serviceAccount.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -automountServiceAccountToken: true -metadata: - name: {{ .Values.helm.serviceAccountName }} - namespace: {{ .Release.Namespace }} \ No newline at end of file diff --git a/charts/nmaas/templates/nmaas-platform-clusterRole.yaml b/charts/nmaas/templates/nmaas-platform-clusterRole.yaml deleted file mode 100644 index 790a32e..0000000 --- a/charts/nmaas/templates/nmaas-platform-clusterRole.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: {{ .Values.platform.clusterRoleName }} -rules: -- apiGroups: [""] - resources: ["pods"] - verbs: ["get", "list", "watch"] -- apiGroups: [""] - resources: ["pods/exec"] - verbs: ["create", "get", "watch"] diff --git a/charts/nmaas/templates/nmaas-platform-deployment.yaml b/charts/nmaas/templates/nmaas-platform-deployment.yaml index 59be106..5e0a77a 100644 --- a/charts/nmaas/templates/nmaas-platform-deployment.yaml +++ b/charts/nmaas/templates/nmaas-platform-deployment.yaml @@ -53,8 +53,9 @@ spec: - name: platform-data mountPath: /nmaas/files subPath: platform-logs - - name: helm-access-key - mountPath: /nmaas/.ssh + - name: platform-data + mountPath: /home/nmaas/.config/helm + subPath: helm env: - name: ENVIRONMENT value: "{{ .Values.platform.properties.environment }}" @@ -137,23 +138,11 @@ spec: - name: USE_LOGIN_PASSWORD value: {{ and .Values.platform.properties.smtp.login .Values.platform.properties.smtp.password }} - name: USE_STARTTLS - value: {{ .Values.platform.properties.smtp.useStartTLS | default "false" | quote}} - - name: HELM_ADDRESS - value: "{{ .Values.platform.properties.helm.address }}" - - name: HELM_USERNAME - value: "{{ .Values.platform.properties.helm.username }}" - - name: HELM_USELOCALCHARTS - value: "{{ .Values.platform.properties.helm.useLocalCharts }}" + value: {{ .Values.platform.properties.smtp.useStartTLS | default "false" | quote }} - name: HELM_REPOSITORY value: "{{ .Values.platform.properties.helm.repositoryName }}" - name: HELM_REPOSITORY_URL value: "{{ .Values.platform.properties.helm.repositoryUrl }}" - - name: HELM_LOCALCHARTSDIR - value: "{{ .Values.platform.properties.helm.chartsDirectory }}" - - name: HELM_ENABLETLS - value: "{{ .Values.platform.properties.helm.enableTls }}" - - name: HELM_VERSION - value: "{{ .Values.platform.properties.helm.version }}" - name: HELM_UPDATE_ASYNC_ENABLED value: "{{ .Values.platform.properties.helm.asyncUpdateEnabled }}" - name: HELM_UPDATE_ASYNC_CRON diff --git a/charts/nmaas/values.yaml b/charts/nmaas/values.yaml index c8f1bbc..022346e 100644 --- a/charts/nmaas/values.yaml +++ b/charts/nmaas/values.yaml @@ -26,7 +26,8 @@ platform: enabled: true name: nmaas-platform serviceAccountName: nmaas-platform - clusterRoleName: nmaas-shell-role + # -- name of ClusterRole to associate to nmaas-platform. Must exist beforehand + clusterRoleName: cluster-admin clusterRoleBindingName: nmaas-platform ingress: # -- defaults to .Values.platform.properties.k8s.ingress.controller.ingressClass if not set @@ -61,7 +62,7 @@ platform: timeoutSeconds: 10 image: repository: artifactory.software.geant.org/nmaas-docker-local/nmaas-platform - tag: "1.7.1" + tag: "latest" pullPolicy: IfNotPresent port: 9001 targetPort: 9001 @@ -121,14 +122,8 @@ platform: name: nmaas-postgresql-secret key: secret helm: - address: nmaas-helm - username: helm - useLocalCharts: false repositoryName: nmaas repositoryUrl: https://artifactory.software.geant.org/artifactory/nmaas-helm - chartsDirectory: /home/nmaas/charts - enableTls: true - version: v3 asyncUpdateEnabled: true asyncUpdateCron: "0 0 * * * ?" smtp: @@ -201,7 +196,7 @@ portal: name: nmaas-portal image: repository: artifactory.software.geant.org/nmaas-docker-local/nmaas-portal - tag: "1.7.1" + tag: "latest" pullPolicy: IfNotPresent ingress: # -- defaults to .Values.platform.properties.k8s.ingress.controller.ingressClass if not set @@ -255,29 +250,6 @@ postfix: secret: key: smtpPassword -helm: - enabled: true - name: nmaas-helm - serviceAccountName: nmaas-helm - clusterRoleBindingName: nmaas-helm-admin - clusterRoleName: cluster-admin - image: - repository: artifactory.software.geant.org/nmaas-docker-local/nmaas-helm-3 - tag: "3.9.3" - pullPolicy: Always - port: 22 - targetPort: 22 - type: ClusterIP - properties: - users: helm:1000:1000 - persistence: - enabled: true - # -- name of an existing claim to be used. If empty, a new one is provisioned. - existingClaim: "" - accessMode: ReadWriteOnce - size: 1Gi - storageClass: "" - janitor: enabled: true name: nmaas-janitor -- GitLab From ce8de95f0ae3a2eadde95a1c40c51e41c7575c6b Mon Sep 17 00:00:00 2001 From: NMaaS Renovate <renovate@nmaas.eu> Date: Sat, 26 Apr 2025 10:58:08 +0000 Subject: [PATCH 05/20] [ci skip] Update README.md --- README.md | 31 ++++--------------------------- 1 file changed, 4 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index a7000a4..3252b8e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # nmaas -  +  GÉANT Network Management as a Service Helm chart for Kubernetes @@ -34,23 +34,6 @@ GÉANT Network Management as a Service Helm chart for Kubernetes | global.nmaasDomain | string | `"nmaas.example.com"` | | | global.registrysecret | string | `"nmaas-registry"` | currently not needed, for future use | | global.wildcardCertificateName | string | `"wildcard-tls"` | | -| helm.clusterRoleBindingName | string | `"nmaas-helm-admin"` | | -| helm.clusterRoleName | string | `"cluster-admin"` | | -| helm.enabled | bool | `true` | | -| helm.image.pullPolicy | string | `"Always"` | | -| helm.image.repository | string | `"artifactory.software.geant.org/nmaas-docker-local/nmaas-helm-3"` | | -| helm.image.tag | string | `"3.9.3"` | | -| helm.name | string | `"nmaas-helm"` | | -| helm.persistence.accessMode | string | `"ReadWriteOnce"` | | -| helm.persistence.enabled | bool | `true` | | -| helm.persistence.existingClaim | string | `""` | name of an existing claim to be used. If empty, a new one is provisioned. | -| helm.persistence.size | string | `"1Gi"` | | -| helm.persistence.storageClass | string | `""` | | -| helm.port | int | `22` | | -| helm.properties.users | string | `"helm:1000:1000"` | | -| helm.serviceAccountName | string | `"nmaas-helm"` | | -| helm.targetPort | int | `22` | | -| helm.type | string | `"ClusterIP"` | | | janitor.clusterRoleBindingName | string | `"nmaas-janitor"` | | | janitor.clusterRoleName | string | `"janitor-role"` | | | janitor.enabled | bool | `true` | | @@ -69,11 +52,11 @@ GÉANT Network Management as a Service Helm chart for Kubernetes | platform.apiSecret.secret.key | string | `"secret"` | | | platform.apiSecret.secret.name | string | `"nmaas-api-secret"` | must be created manually if literal is empty | | platform.clusterRoleBindingName | string | `"nmaas-platform"` | | -| platform.clusterRoleName | string | `"nmaas-shell-role"` | | +| platform.clusterRoleName | string | `"cluster-admin"` | name of ClusterRole to associate to nmaas-platform. Must exist beforehand | | platform.enabled | bool | `true` | | | platform.image.pullPolicy | string | `"IfNotPresent"` | | | platform.image.repository | string | `"artifactory.software.geant.org/nmaas-docker-local/nmaas-platform"` | | -| platform.image.tag | string | `"1.7.1"` | | +| platform.image.tag | string | `"latest"` | | | platform.ingress.className | string | `""` | defaults to .Values.platform.properties.k8s.ingress.controller.ingressClass if not set | | platform.initscripts.enabled | bool | `true` | | | platform.initscripts.image.pullPolicy | string | `"Always"` | | @@ -100,16 +83,10 @@ GÉANT Network Management as a Service Helm chart for Kubernetes | platform.properties.captchaSecret.secret.name | string | `"nmaas-captcha-secret-secret"` | | | platform.properties.defaultLanguage | string | `"en"` | | | platform.properties.environment | string | `"prod"` | | -| platform.properties.helm.address | string | `"nmaas-helm"` | | | platform.properties.helm.asyncUpdateCron | string | `"0 0 * * * ?"` | | | platform.properties.helm.asyncUpdateEnabled | bool | `true` | | -| platform.properties.helm.chartsDirectory | string | `"/home/nmaas/charts"` | | -| platform.properties.helm.enableTls | bool | `true` | | | platform.properties.helm.repositoryName | string | `"nmaas"` | | | platform.properties.helm.repositoryUrl | string | `"https://artifactory.software.geant.org/artifactory/nmaas-helm"` | | -| platform.properties.helm.useLocalCharts | bool | `false` | | -| platform.properties.helm.username | string | `"helm"` | | -| platform.properties.helm.version | string | `"v3"` | | | platform.properties.jwt.resetKey.literal | string | `""` | leave empty to use existing secret, length at least 96 characters | | platform.properties.jwt.resetKey.secret.key | string | `"jwtResetKey"` | | | platform.properties.jwt.secretName | string | `"nmaas-jwt"` | | @@ -167,7 +144,7 @@ GÉANT Network Management as a Service Helm chart for Kubernetes | portal.enabled | bool | `true` | | | portal.image.pullPolicy | string | `"IfNotPresent"` | | | portal.image.repository | string | `"artifactory.software.geant.org/nmaas-docker-local/nmaas-portal"` | | -| portal.image.tag | string | `"1.7.1"` | | +| portal.image.tag | string | `"latest"` | | | portal.ingress.className | string | `""` | defaults to .Values.platform.properties.k8s.ingress.controller.ingressClass if not set | | portal.name | string | `"nmaas-portal"` | | | portal.port | int | `9009` | | -- GitLab From 352c573b2e3352cb2a8a562dd5ca355e294aa762 Mon Sep 17 00:00:00 2001 From: Vojdan Kjorveziroski <vojdan.kjorveziroski@finki.ukim.mk> Date: Mon, 28 Apr 2025 12:46:27 +0200 Subject: [PATCH 06/20] conditional enable of oidc --- charts/nmaas/Chart.yaml | 2 +- charts/nmaas/templates/nmaas-platform-deployment.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/nmaas/Chart.yaml b/charts/nmaas/Chart.yaml index de5f32d..1629e62 100644 --- a/charts/nmaas/Chart.yaml +++ b/charts/nmaas/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: nmaas description: GÉANT Network Management as a Service Helm chart for Kubernetes -version: 2.0.2-alpha.2 +version: 2.0.2-alpha.3 appVersion: 1.8.0 keywords: - Network Management diff --git a/charts/nmaas/templates/nmaas-platform-deployment.yaml b/charts/nmaas/templates/nmaas-platform-deployment.yaml index 5e0a77a..d186bd1 100644 --- a/charts/nmaas/templates/nmaas-platform-deployment.yaml +++ b/charts/nmaas/templates/nmaas-platform-deployment.yaml @@ -207,6 +207,7 @@ spec: value: {{ .Values.platform.properties.autoNamespaceCreationForDomains | quote }} - name: PORTAL_SSO_ALLOWED_FLAG value: {{ .Values.platform.properties.oidc.enabled | quote }} + {{- if .Values.properties.oidc.enabled }} - name: OIDC_CLIENT_ID value: {{ .Values.platform.properties.oidc.clientId | quote }} - name: OIDC_ISSUER_URI @@ -220,6 +221,7 @@ spec: secretKeyRef: name: {{ .Values.platform.properties.oidc.secretName }} key: {{ .Values.platform.properties.oidc.clientSecret.secret.key }} + {{- end }} - name: JWT_SIGNING_KEY valueFrom: secretKeyRef: -- GitLab From 48213a92d90e93ef5c0c3ea1af5cdef4abe33b0f Mon Sep 17 00:00:00 2001 From: Vojdan Kjorveziroski <vojdan.kjorveziroski@finki.ukim.mk> Date: Mon, 28 Apr 2025 12:52:44 +0200 Subject: [PATCH 07/20] bump version --- charts/nmaas/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/nmaas/Chart.yaml b/charts/nmaas/Chart.yaml index 1629e62..52ab208 100644 --- a/charts/nmaas/Chart.yaml +++ b/charts/nmaas/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: nmaas description: GÉANT Network Management as a Service Helm chart for Kubernetes -version: 2.0.2-alpha.3 +version: 2.0.2-alpha.4 appVersion: 1.8.0 keywords: - Network Management -- GitLab From 10a6d5cd3c6c91a9e9d8f3dbda3e4187b8e416e0 Mon Sep 17 00:00:00 2001 From: Vojdan Kjorveziroski <vojdan.kjorveziroski@finki.ukim.mk> Date: Mon, 28 Apr 2025 12:55:22 +0200 Subject: [PATCH 08/20] bump version --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 07398cd..6beee79 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,6 +20,7 @@ version-bump-dev: - export MASTER_CHART_VERSION=$(yq e '.version' charts/$CHART_NAME/Chart.yaml) - git checkout $CI_COMMIT_REF_NAME - git branch --set-upstream-to=origin/$CI_COMMIT_REF_NAME $CI_COMMIT_REF_NAME + - git rebase --quit - git pull - export CURRENT_CHART_VERSION=$(yq e '.version' charts/$CHART_NAME/Chart.yaml) - export CURRENT_DOCKER_IMAGE_VERSION=$(yq e '.platform.image.tag' charts/$CHART_NAME/values.yaml) -- GitLab From 9068bb055b4418196ee776f97a093dcb9bade5b8 Mon Sep 17 00:00:00 2001 From: Vojdan Kjorveziroski <vojdan.kjorveziroski@finki.ukim.mk> Date: Mon, 28 Apr 2025 12:56:20 +0200 Subject: [PATCH 09/20] bump version --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6beee79..eaeeb81 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,7 +20,7 @@ version-bump-dev: - export MASTER_CHART_VERSION=$(yq e '.version' charts/$CHART_NAME/Chart.yaml) - git checkout $CI_COMMIT_REF_NAME - git branch --set-upstream-to=origin/$CI_COMMIT_REF_NAME $CI_COMMIT_REF_NAME - - git rebase --quit + - git status - git pull - export CURRENT_CHART_VERSION=$(yq e '.version' charts/$CHART_NAME/Chart.yaml) - export CURRENT_DOCKER_IMAGE_VERSION=$(yq e '.platform.image.tag' charts/$CHART_NAME/values.yaml) -- GitLab From 837430942c27803f520fa7fdd0ba59305835624c Mon Sep 17 00:00:00 2001 From: Vojdan Kjorveziroski <vojdan.kjorveziroski@finki.ukim.mk> Date: Mon, 28 Apr 2025 12:57:18 +0200 Subject: [PATCH 10/20] bump version --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eaeeb81..36a6461 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,6 +21,7 @@ version-bump-dev: - git checkout $CI_COMMIT_REF_NAME - git branch --set-upstream-to=origin/$CI_COMMIT_REF_NAME $CI_COMMIT_REF_NAME - git status + - rm -fr ".git/rebase-merge" - git pull - export CURRENT_CHART_VERSION=$(yq e '.version' charts/$CHART_NAME/Chart.yaml) - export CURRENT_DOCKER_IMAGE_VERSION=$(yq e '.platform.image.tag' charts/$CHART_NAME/values.yaml) -- GitLab From 0345b44db8fa13a540999d2d485fe476581ced3a Mon Sep 17 00:00:00 2001 From: Vojdan Kjorveziroski <vojdan.kjorveziroski@finki.ukim.mk> Date: Mon, 28 Apr 2025 12:57:51 +0200 Subject: [PATCH 11/20] bump version --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 36a6461..c99db72 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,6 +22,7 @@ version-bump-dev: - git branch --set-upstream-to=origin/$CI_COMMIT_REF_NAME $CI_COMMIT_REF_NAME - git status - rm -fr ".git/rebase-merge" + - git rebase --abort - git pull - export CURRENT_CHART_VERSION=$(yq e '.version' charts/$CHART_NAME/Chart.yaml) - export CURRENT_DOCKER_IMAGE_VERSION=$(yq e '.platform.image.tag' charts/$CHART_NAME/values.yaml) -- GitLab From 3fcf7081e63620becfa8ade4dec3b1fedaa3da98 Mon Sep 17 00:00:00 2001 From: Vojdan Kjorveziroski <vojdan.kjorveziroski@finki.ukim.mk> Date: Mon, 28 Apr 2025 12:58:56 +0200 Subject: [PATCH 12/20] bump version --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c99db72..37aeb81 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,8 +21,7 @@ version-bump-dev: - git checkout $CI_COMMIT_REF_NAME - git branch --set-upstream-to=origin/$CI_COMMIT_REF_NAME $CI_COMMIT_REF_NAME - git status - - rm -fr ".git/rebase-merge" - - git rebase --abort + - git rebase --continue - git pull - export CURRENT_CHART_VERSION=$(yq e '.version' charts/$CHART_NAME/Chart.yaml) - export CURRENT_DOCKER_IMAGE_VERSION=$(yq e '.platform.image.tag' charts/$CHART_NAME/values.yaml) -- GitLab From f1f7726367b8ea0d508f797cb7cfa167e8a432c0 Mon Sep 17 00:00:00 2001 From: Vojdan Kjorveziroski <vojdan.kjorveziroski@finki.ukim.mk> Date: Mon, 28 Apr 2025 12:59:32 +0200 Subject: [PATCH 13/20] bump version --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 37aeb81..70df3c4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,8 +21,8 @@ version-bump-dev: - git checkout $CI_COMMIT_REF_NAME - git branch --set-upstream-to=origin/$CI_COMMIT_REF_NAME $CI_COMMIT_REF_NAME - git status - - git rebase --continue - git pull + - git rebase --continue - export CURRENT_CHART_VERSION=$(yq e '.version' charts/$CHART_NAME/Chart.yaml) - export CURRENT_DOCKER_IMAGE_VERSION=$(yq e '.platform.image.tag' charts/$CHART_NAME/values.yaml) - export CURRENT_CHART_APP_VERSION=$(yq e '.appVersion' charts/$CHART_NAME/Chart.yaml) -- GitLab From c1e2f429ebe08a378b8fa1eee307c233597207f0 Mon Sep 17 00:00:00 2001 From: Vojdan Kjorveziroski <vojdan.kjorveziroski@finki.ukim.mk> Date: Mon, 28 Apr 2025 13:04:59 +0200 Subject: [PATCH 14/20] bump version --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 70df3c4..93a612a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,9 +20,9 @@ version-bump-dev: - export MASTER_CHART_VERSION=$(yq e '.version' charts/$CHART_NAME/Chart.yaml) - git checkout $CI_COMMIT_REF_NAME - git branch --set-upstream-to=origin/$CI_COMMIT_REF_NAME $CI_COMMIT_REF_NAME + - git fetch origin $CI_COMMIT_REF_NAME + - git reset --hard origin/$CI_COMMIT_REF_NAME - git status - - git pull - - git rebase --continue - export CURRENT_CHART_VERSION=$(yq e '.version' charts/$CHART_NAME/Chart.yaml) - export CURRENT_DOCKER_IMAGE_VERSION=$(yq e '.platform.image.tag' charts/$CHART_NAME/values.yaml) - export CURRENT_CHART_APP_VERSION=$(yq e '.appVersion' charts/$CHART_NAME/Chart.yaml) -- GitLab From f82211bafb9e6d64dac940cecec90bf78e0fe0aa Mon Sep 17 00:00:00 2001 From: NMaaS Renovate <renovate@nmaas.eu> Date: Mon, 28 Apr 2025 11:05:10 +0000 Subject: [PATCH 15/20] [ci skip] Reconcile changes --- charts/nmaas/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/nmaas/Chart.yaml b/charts/nmaas/Chart.yaml index 52ab208..2300ba1 100644 --- a/charts/nmaas/Chart.yaml +++ b/charts/nmaas/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: nmaas description: GÉANT Network Management as a Service Helm chart for Kubernetes version: 2.0.2-alpha.4 -appVersion: 1.8.0 +appVersion: latest keywords: - Network Management - Cloud Deployment -- GitLab From c5c0108e468f00e5f5cbbbdf0fd72e0727d091f3 Mon Sep 17 00:00:00 2001 From: Vojdan Kjorveziroski <vojdan.kjorveziroski@finki.ukim.mk> Date: Mon, 28 Apr 2025 13:06:11 +0200 Subject: [PATCH 16/20] bump version --- .gitlab-ci.yml | 5 ++--- charts/nmaas/templates/nmaas-platform-deployment.yaml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 93a612a..313ac5b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,16 +13,15 @@ version-bump-dev: before_script: - git config user.email 'renovate@nmaas.eu' - git config user.name 'NMaaS Renovate' - - git config pull.rebase true + # - git config pull.rebase true script: - git fetch - git checkout master - export MASTER_CHART_VERSION=$(yq e '.version' charts/$CHART_NAME/Chart.yaml) - git checkout $CI_COMMIT_REF_NAME - git branch --set-upstream-to=origin/$CI_COMMIT_REF_NAME $CI_COMMIT_REF_NAME - - git fetch origin $CI_COMMIT_REF_NAME - - git reset --hard origin/$CI_COMMIT_REF_NAME - git status + - git pull - export CURRENT_CHART_VERSION=$(yq e '.version' charts/$CHART_NAME/Chart.yaml) - export CURRENT_DOCKER_IMAGE_VERSION=$(yq e '.platform.image.tag' charts/$CHART_NAME/values.yaml) - export CURRENT_CHART_APP_VERSION=$(yq e '.appVersion' charts/$CHART_NAME/Chart.yaml) diff --git a/charts/nmaas/templates/nmaas-platform-deployment.yaml b/charts/nmaas/templates/nmaas-platform-deployment.yaml index d186bd1..9ab6ca9 100644 --- a/charts/nmaas/templates/nmaas-platform-deployment.yaml +++ b/charts/nmaas/templates/nmaas-platform-deployment.yaml @@ -207,7 +207,7 @@ spec: value: {{ .Values.platform.properties.autoNamespaceCreationForDomains | quote }} - name: PORTAL_SSO_ALLOWED_FLAG value: {{ .Values.platform.properties.oidc.enabled | quote }} - {{- if .Values.properties.oidc.enabled }} + {{- if .Values.platform.properties.oidc.enabled }} - name: OIDC_CLIENT_ID value: {{ .Values.platform.properties.oidc.clientId | quote }} - name: OIDC_ISSUER_URI -- GitLab From 660beaddb4a3be91415b02f71cbd738b1bc0d8db Mon Sep 17 00:00:00 2001 From: Vojdan Kjorveziroski <vojdan.kjorveziroski@finki.ukim.mk> Date: Mon, 28 Apr 2025 13:07:21 +0200 Subject: [PATCH 17/20] bump version --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 313ac5b..8c2defd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -94,7 +94,7 @@ helm-docs: - git pull https://root:$RENOVATE_ACCESS_TOKEN@$CI_SERVER_HOST/$CI_PROJECT_PATH.git $CI_COMMIT_REF_NAME - git config user.email 'renovate@nmaas.eu' - git config user.name 'NMaaS Renovate' - - git config pull.rebase true + # - git config pull.rebase true script: - helm-docs --output-file '../../README.md' - git status -- GitLab From 9d517b22775e0f95f9766f3ad6636b988c1b2f7a Mon Sep 17 00:00:00 2001 From: NMaaS Renovate <renovate@nmaas.eu> Date: Mon, 28 Apr 2025 11:07:45 +0000 Subject: [PATCH 18/20] [ci skip] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3252b8e..51a93a0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # nmaas -  +  GÉANT Network Management as a Service Helm chart for Kubernetes -- GitLab From 50b0b8410e515f063bf3b329e268452af9cbec79 Mon Sep 17 00:00:00 2001 From: Vojdan Kjorveziroski <vojdan.kjorveziroski@finki.ukim.mk> Date: Tue, 29 Apr 2025 18:12:23 +0200 Subject: [PATCH 19/20] Add test_instance_flag env variable to nmaas-populate --- charts/nmaas/Chart.yaml | 2 +- charts/nmaas/templates/nmaas-populate-job.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/nmaas/Chart.yaml b/charts/nmaas/Chart.yaml index 2300ba1..2e4b260 100644 --- a/charts/nmaas/Chart.yaml +++ b/charts/nmaas/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: nmaas description: GÉANT Network Management as a Service Helm chart for Kubernetes -version: 2.0.2-alpha.4 +version: 2.0.2-alpha.5 appVersion: latest keywords: - Network Management diff --git a/charts/nmaas/templates/nmaas-populate-job.yaml b/charts/nmaas/templates/nmaas-populate-job.yaml index d032780..698174c 100644 --- a/charts/nmaas/templates/nmaas-populate-job.yaml +++ b/charts/nmaas/templates/nmaas-populate-job.yaml @@ -11,6 +11,8 @@ spec: image: "{{ .Values.platform.initscripts.image.repository }}:{{ .Values.platform.initscripts.image.tag }}" imagePullPolicy: {{ .Values.platform.initscripts.image.pullPolicy }} env: + - name: TEST_INSTANCE_FLAG + value: {{ .Values.platform.properties.testInstance | quote }} - name: PLATFORM_PORT value: "{{ .Values.platform.port }}" - name: PLATFORM_HOST -- GitLab From ec8396c593efa0a5bfae64b5fc68e42605837342 Mon Sep 17 00:00:00 2001 From: NMaaS Renovate <renovate@nmaas.eu> Date: Tue, 29 Apr 2025 16:12:51 +0000 Subject: [PATCH 20/20] [ci skip] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 51a93a0..541921e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # nmaas -  +  GÉANT Network Management as a Service Helm chart for Kubernetes -- GitLab