From 7f36e8ffdc88eaca56a0fdfe43f77f5253ea9b38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Wed, 26 Jul 2023 18:52:49 +0200 Subject: [PATCH] fix --- .../apps_v1_Deployment_gitea-memcached.yaml | 6 +- apps/gitea/apps_v1_StatefulSet_gitea.yaml | 22 +- apps/gitea/index.rhai | 2 +- apps/gitea/index.yaml | 198 +++++++++--------- apps/gitea/v1_Secret_gitea-init.yaml | 6 +- apps/gitea/v1_Secret_gitea.yaml | 6 +- apps/gitea/v1_Service_gitea-http.yaml | 6 +- apps/gitea/v1_Service_gitea-memcached.yaml | 2 +- apps/gitea/v1_Service_gitea-ssh.yaml | 6 +- 9 files changed, 127 insertions(+), 127 deletions(-) diff --git a/apps/gitea/apps_v1_Deployment_gitea-memcached.yaml b/apps/gitea/apps_v1_Deployment_gitea-memcached.yaml index 7f3e048..b69e2c8 100644 --- a/apps/gitea/apps_v1_Deployment_gitea-memcached.yaml +++ b/apps/gitea/apps_v1_Deployment_gitea-memcached.yaml @@ -6,7 +6,7 @@ metadata: namespace: vynil-ci labels: app.kubernetes.io/name: memcached - helm.sh/chart: memcached-6.3.13 + helm.sh/chart: memcached-6.3.14 app.kubernetes.io/instance: gitea app.kubernetes.io/managed-by: Helm spec: @@ -22,7 +22,7 @@ spec: metadata: labels: app.kubernetes.io/name: memcached - helm.sh/chart: memcached-6.3.13 + helm.sh/chart: memcached-6.3.14 app.kubernetes.io/instance: gitea app.kubernetes.io/managed-by: Helm annotations: @@ -47,7 +47,7 @@ spec: serviceAccountName: default containers: - name: memcached - image: docker.io/bitnami/memcached:1.6.19-debian-11-r3 + image: docker.io/bitnami/memcached:1.6.19-debian-11-r7 imagePullPolicy: "IfNotPresent" securityContext: runAsNonRoot: true diff --git a/apps/gitea/apps_v1_StatefulSet_gitea.yaml b/apps/gitea/apps_v1_StatefulSet_gitea.yaml index 85d1522..6d0a21b 100644 --- a/apps/gitea/apps_v1_StatefulSet_gitea.yaml +++ b/apps/gitea/apps_v1_StatefulSet_gitea.yaml @@ -5,12 +5,12 @@ metadata: name: gitea annotations: labels: - helm.sh/chart: gitea-8.0.3 + helm.sh/chart: gitea-8.3.0 app: gitea app.kubernetes.io/name: gitea app.kubernetes.io/instance: gitea - app.kubernetes.io/version: "1.19.1" - version: "1.19.1" + app.kubernetes.io/version: "1.19.3" + version: "1.19.3" app.kubernetes.io/managed-by: Helm spec: replicas: 1 @@ -22,15 +22,15 @@ spec: template: metadata: annotations: - checksum/config: 92a115496ca24d008eee552477c9d92637e4c5dafa30a3f43dbffed1ea616881 + checksum/config: 27af0e4460a4b6fa0279e60d04c3d82609060dda7af59dd2051139acc1cdb203 checksum/ldap_0: 9356e28431e375c7fc7d624460a9f41c243f14c3f9765c40aa2b13cf46203eaf labels: - helm.sh/chart: gitea-8.0.3 + helm.sh/chart: gitea-8.3.0 app: gitea app.kubernetes.io/name: gitea app.kubernetes.io/instance: gitea - app.kubernetes.io/version: "1.19.1" - version: "1.19.1" + app.kubernetes.io/version: "1.19.3" + version: "1.19.3" app.kubernetes.io/managed-by: Helm spec: @@ -38,7 +38,7 @@ spec: fsGroup: 1000 initContainers: - name: init-directories - image: "gitea/gitea:1.19.1" + image: "gitea/gitea:1.19.3" imagePullPolicy: Always command: ["/usr/sbin/init_directory_structure.sh"] env: @@ -70,7 +70,7 @@ spec: cpu: 100m memory: 128Mi - name: init-app-ini - image: "gitea/gitea:1.19.1" + image: "gitea/gitea:1.19.3" imagePullPolicy: Always command: ["/usr/sbin/config_environment.sh"] env: @@ -108,7 +108,7 @@ spec: cpu: 100m memory: 128Mi - name: configure-gitea - image: "gitea/gitea:1.19.1" + image: "gitea/gitea:1.19.3" command: ["/usr/sbin/configure_gitea.sh"] imagePullPolicy: Always securityContext: @@ -163,7 +163,7 @@ spec: terminationGracePeriodSeconds: 60 containers: - name: gitea - image: "gitea/gitea:1.19.1" + image: "gitea/gitea:1.19.3" imagePullPolicy: Always env: # SSH Port values have to be set here as well for openssh configuration diff --git a/apps/gitea/index.rhai b/apps/gitea/index.rhai index a14b0c9..c02ded2 100644 --- a/apps/gitea/index.rhai +++ b/apps/gitea/index.rhai @@ -4,7 +4,7 @@ const SRC=src; const DEST=dest; fn pre_pack() { shell("helm repo add gitea-charts https://dl.gitea.io/charts/"); - shell(`helm template gitea --version 8.0.3 gitea-charts/gitea --namespace=vynil-ci --values values.yml >${global::SRC}/chart.yaml`); + shell(`helm template gitea --version 8.3.0 gitea-charts/gitea --namespace=vynil-ci --values values.yml >${global::SRC}/chart.yaml`); } fn post_pack() { shell(`rm -f ${global::DEST}/v1_Pod_gitea-test-connection.yaml`); diff --git a/apps/gitea/index.yaml b/apps/gitea/index.yaml index 7fd0aaa..9b4c283 100644 --- a/apps/gitea/index.yaml +++ b/apps/gitea/index.yaml @@ -9,11 +9,31 @@ metadata: A painless self-hosted Git service. Gitea is a community managed lightweight code hosting solution written in Go. It is published under the MIT license. options: - default-branch: - default: main + load-balancer: + default: + ip: '' examples: - - main - type: string + - ip: '' + properties: + ip: + default: '' + type: string + type: object + admin: + default: + email: git-admin@git.your_company.com + name: gitea_admin + examples: + - email: git-admin@git.your_company.com + name: gitea_admin + properties: + email: + default: git-admin@git.your_company.com + type: string + name: + default: gitea_admin + type: string + type: object postgres: default: replicas: 1 @@ -34,100 +54,15 @@ options: default: '14' type: string type: object - domain-name: - default: your_company.com - examples: - - your_company.com - type: string - sub-domain: - default: git - examples: - - git - type: string - admin: - default: - email: git-admin@git.your_company.com - name: gitea_admin - examples: - - email: git-admin@git.your_company.com - name: gitea_admin - properties: - email: - default: git-admin@git.your_company.com - type: string - name: - default: gitea_admin - type: string - type: object - replicas: - default: 1 - examples: - - 1 - type: integer - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - disable-registration: - default: true - examples: - - true - type: boolean - timezone: - default: Europe/Paris - examples: - - Europe/Paris - type: string - load-balancer: - default: - ip: '' - examples: - - ip: '' - properties: - ip: - default: '' - type: string - type: object - ssh-port: - default: 2222 - examples: - - 2222 - type: integer - push-create: - default: - org: 'true' - private: 'false' - user: 'true' - examples: - - org: 'true' - private: 'false' - user: 'true' - properties: - org: - default: 'true' - type: string - private: - default: 'false' - type: string - user: - default: 'true' - type: string - type: object - domain: - default: your-company - examples: - - your-company - type: string release: default: 8.3.0 examples: - 8.3.0 type: string - ingress-class: - default: traefik + theme: + default: gitea-modern examples: - - traefik + - gitea-modern type: string webhook: default: @@ -154,13 +89,43 @@ options: default: 10Gi type: string type: object + timezone: + default: Europe/Paris + examples: + - Europe/Paris + type: string + default-branch: + default: main + examples: + - main + type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + ssh-port: + default: 2222 + examples: + - 2222 + type: integer + domain-name: + default: your_company.com + examples: + - your_company.com + type: string + replicas: + default: 1 + examples: + - 1 + type: integer images: default: gitea: pullPolicy: IfNotPresent registry: docker.io repository: gitea/gitea - tag: 1.20.1 + tag: 1.19.3 memcached: registry: docker.io repository: bitnami/memcached @@ -170,7 +135,7 @@ options: pullPolicy: IfNotPresent registry: docker.io repository: gitea/gitea - tag: 1.20.1 + tag: 1.19.3 memcached: registry: docker.io repository: bitnami/memcached @@ -181,7 +146,7 @@ options: pullPolicy: IfNotPresent registry: docker.io repository: gitea/gitea - tag: 1.20.1 + tag: 1.19.3 properties: pullPolicy: default: IfNotPresent @@ -197,7 +162,7 @@ options: default: gitea/gitea type: string tag: - default: 1.20.1 + default: 1.19.3 type: string type: object memcached: @@ -217,11 +182,46 @@ options: type: string type: object type: object - theme: - default: gitea-modern + push-create: + default: + org: 'true' + private: 'false' + user: 'true' examples: - - gitea-modern + - org: 'true' + private: 'false' + user: 'true' + properties: + org: + default: 'true' + type: string + private: + default: 'false' + type: string + user: + default: 'true' + type: string + type: object + domain: + default: your-company + examples: + - your-company type: string + ingress-class: + default: traefik + examples: + - traefik + type: string + sub-domain: + default: git + examples: + - git + type: string + disable-registration: + default: true + examples: + - true + type: boolean dependencies: - dist: null category: share diff --git a/apps/gitea/v1_Secret_gitea-init.yaml b/apps/gitea/v1_Secret_gitea-init.yaml index 3bae4fc..dc3c0db 100644 --- a/apps/gitea/v1_Secret_gitea-init.yaml +++ b/apps/gitea/v1_Secret_gitea-init.yaml @@ -4,12 +4,12 @@ kind: Secret metadata: name: gitea-init labels: - helm.sh/chart: gitea-8.0.3 + helm.sh/chart: gitea-8.3.0 app: gitea app.kubernetes.io/name: gitea app.kubernetes.io/instance: gitea - app.kubernetes.io/version: "1.19.1" - version: "1.19.1" + app.kubernetes.io/version: "1.19.3" + version: "1.19.3" app.kubernetes.io/managed-by: Helm type: Opaque stringData: diff --git a/apps/gitea/v1_Secret_gitea.yaml b/apps/gitea/v1_Secret_gitea.yaml index 3afe6d0..c280f38 100644 --- a/apps/gitea/v1_Secret_gitea.yaml +++ b/apps/gitea/v1_Secret_gitea.yaml @@ -4,12 +4,12 @@ kind: Secret metadata: name: gitea labels: - helm.sh/chart: gitea-8.0.3 + helm.sh/chart: gitea-8.3.0 app: gitea app.kubernetes.io/name: gitea app.kubernetes.io/instance: gitea - app.kubernetes.io/version: "1.19.1" - version: "1.19.1" + app.kubernetes.io/version: "1.19.3" + version: "1.19.3" app.kubernetes.io/managed-by: Helm type: Opaque stringData: diff --git a/apps/gitea/v1_Service_gitea-http.yaml b/apps/gitea/v1_Service_gitea-http.yaml index 26fed0f..7992d59 100644 --- a/apps/gitea/v1_Service_gitea-http.yaml +++ b/apps/gitea/v1_Service_gitea-http.yaml @@ -4,12 +4,12 @@ kind: Service metadata: name: gitea-http labels: - helm.sh/chart: gitea-8.0.3 + helm.sh/chart: gitea-8.3.0 app: gitea app.kubernetes.io/name: gitea app.kubernetes.io/instance: gitea - app.kubernetes.io/version: "1.19.1" - version: "1.19.1" + app.kubernetes.io/version: "1.19.3" + version: "1.19.3" app.kubernetes.io/managed-by: Helm annotations: {} diff --git a/apps/gitea/v1_Service_gitea-memcached.yaml b/apps/gitea/v1_Service_gitea-memcached.yaml index 92bf309..8b7bcd2 100644 --- a/apps/gitea/v1_Service_gitea-memcached.yaml +++ b/apps/gitea/v1_Service_gitea-memcached.yaml @@ -6,7 +6,7 @@ metadata: namespace: vynil-ci labels: app.kubernetes.io/name: memcached - helm.sh/chart: memcached-6.3.13 + helm.sh/chart: memcached-6.3.14 app.kubernetes.io/instance: gitea app.kubernetes.io/managed-by: Helm annotations: diff --git a/apps/gitea/v1_Service_gitea-ssh.yaml b/apps/gitea/v1_Service_gitea-ssh.yaml index b1b1751..30b5f5d 100644 --- a/apps/gitea/v1_Service_gitea-ssh.yaml +++ b/apps/gitea/v1_Service_gitea-ssh.yaml @@ -4,12 +4,12 @@ kind: Service metadata: name: gitea-ssh labels: - helm.sh/chart: gitea-8.0.3 + helm.sh/chart: gitea-8.3.0 app: gitea app.kubernetes.io/name: gitea app.kubernetes.io/instance: gitea - app.kubernetes.io/version: "1.19.1" - version: "1.19.1" + app.kubernetes.io/version: "1.19.3" + version: "1.19.3" app.kubernetes.io/managed-by: Helm annotations: metallb.universe.tf/address-pool: mlb-pool-public