This commit is contained in:
2023-07-26 18:52:49 +02:00
parent 886a15f395
commit 7f36e8ffdc
9 changed files with 127 additions and 127 deletions

View File

@@ -6,7 +6,7 @@ metadata:
namespace: vynil-ci namespace: vynil-ci
labels: labels:
app.kubernetes.io/name: memcached 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/instance: gitea
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
spec: spec:
@@ -22,7 +22,7 @@ spec:
metadata: metadata:
labels: labels:
app.kubernetes.io/name: memcached 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/instance: gitea
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
annotations: annotations:
@@ -47,7 +47,7 @@ spec:
serviceAccountName: default serviceAccountName: default
containers: containers:
- name: memcached - 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" imagePullPolicy: "IfNotPresent"
securityContext: securityContext:
runAsNonRoot: true runAsNonRoot: true

View File

@@ -5,12 +5,12 @@ metadata:
name: gitea name: gitea
annotations: annotations:
labels: labels:
helm.sh/chart: gitea-8.0.3 helm.sh/chart: gitea-8.3.0
app: gitea app: gitea
app.kubernetes.io/name: gitea app.kubernetes.io/name: gitea
app.kubernetes.io/instance: gitea app.kubernetes.io/instance: gitea
app.kubernetes.io/version: "1.19.1" app.kubernetes.io/version: "1.19.3"
version: "1.19.1" version: "1.19.3"
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
spec: spec:
replicas: 1 replicas: 1
@@ -22,15 +22,15 @@ spec:
template: template:
metadata: metadata:
annotations: annotations:
checksum/config: 92a115496ca24d008eee552477c9d92637e4c5dafa30a3f43dbffed1ea616881 checksum/config: 27af0e4460a4b6fa0279e60d04c3d82609060dda7af59dd2051139acc1cdb203
checksum/ldap_0: 9356e28431e375c7fc7d624460a9f41c243f14c3f9765c40aa2b13cf46203eaf checksum/ldap_0: 9356e28431e375c7fc7d624460a9f41c243f14c3f9765c40aa2b13cf46203eaf
labels: labels:
helm.sh/chart: gitea-8.0.3 helm.sh/chart: gitea-8.3.0
app: gitea app: gitea
app.kubernetes.io/name: gitea app.kubernetes.io/name: gitea
app.kubernetes.io/instance: gitea app.kubernetes.io/instance: gitea
app.kubernetes.io/version: "1.19.1" app.kubernetes.io/version: "1.19.3"
version: "1.19.1" version: "1.19.3"
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
spec: spec:
@@ -38,7 +38,7 @@ spec:
fsGroup: 1000 fsGroup: 1000
initContainers: initContainers:
- name: init-directories - name: init-directories
image: "gitea/gitea:1.19.1" image: "gitea/gitea:1.19.3"
imagePullPolicy: Always imagePullPolicy: Always
command: ["/usr/sbin/init_directory_structure.sh"] command: ["/usr/sbin/init_directory_structure.sh"]
env: env:
@@ -70,7 +70,7 @@ spec:
cpu: 100m cpu: 100m
memory: 128Mi memory: 128Mi
- name: init-app-ini - name: init-app-ini
image: "gitea/gitea:1.19.1" image: "gitea/gitea:1.19.3"
imagePullPolicy: Always imagePullPolicy: Always
command: ["/usr/sbin/config_environment.sh"] command: ["/usr/sbin/config_environment.sh"]
env: env:
@@ -108,7 +108,7 @@ spec:
cpu: 100m cpu: 100m
memory: 128Mi memory: 128Mi
- name: configure-gitea - name: configure-gitea
image: "gitea/gitea:1.19.1" image: "gitea/gitea:1.19.3"
command: ["/usr/sbin/configure_gitea.sh"] command: ["/usr/sbin/configure_gitea.sh"]
imagePullPolicy: Always imagePullPolicy: Always
securityContext: securityContext:
@@ -163,7 +163,7 @@ spec:
terminationGracePeriodSeconds: 60 terminationGracePeriodSeconds: 60
containers: containers:
- name: gitea - name: gitea
image: "gitea/gitea:1.19.1" image: "gitea/gitea:1.19.3"
imagePullPolicy: Always imagePullPolicy: Always
env: env:
# SSH Port values have to be set here as well for openssh configuration # SSH Port values have to be set here as well for openssh configuration

View File

@@ -4,7 +4,7 @@ const SRC=src;
const DEST=dest; const DEST=dest;
fn pre_pack() { fn pre_pack() {
shell("helm repo add gitea-charts https://dl.gitea.io/charts/"); 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() { fn post_pack() {
shell(`rm -f ${global::DEST}/v1_Pod_gitea-test-connection.yaml`); shell(`rm -f ${global::DEST}/v1_Pod_gitea-test-connection.yaml`);

View File

@@ -9,11 +9,31 @@ metadata:
A painless self-hosted Git service. 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. Gitea is a community managed lightweight code hosting solution written in Go. It is published under the MIT license.
options: options:
default-branch: load-balancer:
default: main default:
ip: ''
examples: examples:
- main - ip: ''
type: string 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: postgres:
default: default:
replicas: 1 replicas: 1
@@ -34,100 +54,15 @@ options:
default: '14' default: '14'
type: string type: string
type: object 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: release:
default: 8.3.0 default: 8.3.0
examples: examples:
- 8.3.0 - 8.3.0
type: string type: string
ingress-class: theme:
default: traefik default: gitea-modern
examples: examples:
- traefik - gitea-modern
type: string type: string
webhook: webhook:
default: default:
@@ -154,13 +89,43 @@ options:
default: 10Gi default: 10Gi
type: string type: string
type: object 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: images:
default: default:
gitea: gitea:
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
registry: docker.io registry: docker.io
repository: gitea/gitea repository: gitea/gitea
tag: 1.20.1 tag: 1.19.3
memcached: memcached:
registry: docker.io registry: docker.io
repository: bitnami/memcached repository: bitnami/memcached
@@ -170,7 +135,7 @@ options:
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
registry: docker.io registry: docker.io
repository: gitea/gitea repository: gitea/gitea
tag: 1.20.1 tag: 1.19.3
memcached: memcached:
registry: docker.io registry: docker.io
repository: bitnami/memcached repository: bitnami/memcached
@@ -181,7 +146,7 @@ options:
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
registry: docker.io registry: docker.io
repository: gitea/gitea repository: gitea/gitea
tag: 1.20.1 tag: 1.19.3
properties: properties:
pullPolicy: pullPolicy:
default: IfNotPresent default: IfNotPresent
@@ -197,7 +162,7 @@ options:
default: gitea/gitea default: gitea/gitea
type: string type: string
tag: tag:
default: 1.20.1 default: 1.19.3
type: string type: string
type: object type: object
memcached: memcached:
@@ -217,11 +182,46 @@ options:
type: string type: string
type: object type: object
type: object type: object
theme: push-create:
default: gitea-modern default:
org: 'true'
private: 'false'
user: 'true'
examples: 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 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: dependencies:
- dist: null - dist: null
category: share category: share

View File

@@ -4,12 +4,12 @@ kind: Secret
metadata: metadata:
name: gitea-init name: gitea-init
labels: labels:
helm.sh/chart: gitea-8.0.3 helm.sh/chart: gitea-8.3.0
app: gitea app: gitea
app.kubernetes.io/name: gitea app.kubernetes.io/name: gitea
app.kubernetes.io/instance: gitea app.kubernetes.io/instance: gitea
app.kubernetes.io/version: "1.19.1" app.kubernetes.io/version: "1.19.3"
version: "1.19.1" version: "1.19.3"
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
type: Opaque type: Opaque
stringData: stringData:

View File

@@ -4,12 +4,12 @@ kind: Secret
metadata: metadata:
name: gitea name: gitea
labels: labels:
helm.sh/chart: gitea-8.0.3 helm.sh/chart: gitea-8.3.0
app: gitea app: gitea
app.kubernetes.io/name: gitea app.kubernetes.io/name: gitea
app.kubernetes.io/instance: gitea app.kubernetes.io/instance: gitea
app.kubernetes.io/version: "1.19.1" app.kubernetes.io/version: "1.19.3"
version: "1.19.1" version: "1.19.3"
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
type: Opaque type: Opaque
stringData: stringData:

View File

@@ -4,12 +4,12 @@ kind: Service
metadata: metadata:
name: gitea-http name: gitea-http
labels: labels:
helm.sh/chart: gitea-8.0.3 helm.sh/chart: gitea-8.3.0
app: gitea app: gitea
app.kubernetes.io/name: gitea app.kubernetes.io/name: gitea
app.kubernetes.io/instance: gitea app.kubernetes.io/instance: gitea
app.kubernetes.io/version: "1.19.1" app.kubernetes.io/version: "1.19.3"
version: "1.19.1" version: "1.19.3"
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
annotations: annotations:
{} {}

View File

@@ -6,7 +6,7 @@ metadata:
namespace: vynil-ci namespace: vynil-ci
labels: labels:
app.kubernetes.io/name: memcached 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/instance: gitea
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
annotations: annotations:

View File

@@ -4,12 +4,12 @@ kind: Service
metadata: metadata:
name: gitea-ssh name: gitea-ssh
labels: labels:
helm.sh/chart: gitea-8.0.3 helm.sh/chart: gitea-8.3.0
app: gitea app: gitea
app.kubernetes.io/name: gitea app.kubernetes.io/name: gitea
app.kubernetes.io/instance: gitea app.kubernetes.io/instance: gitea
app.kubernetes.io/version: "1.19.1" app.kubernetes.io/version: "1.19.3"
version: "1.19.1" version: "1.19.3"
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
annotations: annotations:
metallb.universe.tf/address-pool: mlb-pool-public metallb.universe.tf/address-pool: mlb-pool-public