Gitea
This will demonstrate my steps I took to install Gitea using ArgoCD 8.0.3
Note
At this time of writing the latest version is 8.0.3, you can consult their downloads page as this version will change in the future.
Chart
Inside apps/gitea/Chart.yaml
:
apiVersion: v2
name: gitea
description: Gitea helm chart
type: application
version: 10.1.4
dependencies:
- name: gitea
version: 10.1.4
repository: https://dl.gitea.io/charts
Values
Inside apps/gitea/values.yaml
:
gitea:
replicaCount: 1
global:
storageClass: "local-path"
replicaCount: 1
service:
http:
type: ClusterIP
port: 3000
ssh:
type: LoadBalancer
port: 22
annotations:
metallb.universe.tf/allow-shared-ip: nginx
metallb.universe.tf/loadBalancerIPs: 10.8.0.115
ingress:
enabled: true
className: nginx
hosts:
- host: git.int.sektorlab.xyz
paths:
- path: /
pathType: Prefix
apiVersion: networking.k8s.io/v1
persistence:
enabled: true
create: true
mount: true
size: 10Gi
accessModes:
- ReadWriteOnce
storageClass: local-path
annotations:
helm.sh/resource-policy: keep
gitea:
admin:
# existingSecret: gitea-admin-secret
existingSecret:
username: gitea_admin
password: gitea_admin
email: "gitea@local.domain"
config:
server:
SSH_PORT: 22
SSH_LISTEN_PORT: 2222
DOMAIN: git.int.sektorlab.xyz
ROOT_URL: https://git.int.sektorlab.xyz
SSH_DOMAIN: git.int.sektorlab.xyz
redis-cluster:
enabled: true
usePassword: false
cluster:
nodes: 3
replicas: 0
postgresql-ha:
enabled: true
global:
postgresql:
database: gitea
password: gitea
username: gitea
primary:
persistence:
size: 10Gi
Post Actions
Once you have them defined, inside the apps/gitea
directory run:
Then you are set to push back to the remote branch.