-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatform-ingress-gitea.yml
More file actions
93 lines (91 loc) · 2.78 KB
/
platform-ingress-gitea.yml
File metadata and controls
93 lines (91 loc) · 2.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
apiVersion: halkyon.io/v1alpha1
kind: Platform
metadata:
name: ingress-gitea
namespace: platform
spec:
version: 0.1.0
description: "A platform example installing the following packages nginx ingress and gitea and exposing the gitea ui at the address https://gitea.localtest.me:8443"
packages:
- name: nginx-ingress
description: "nginx-ingress package"
pipeline:
steps:
- name: install
image: dtzar/helm-kubectl
namespace:
name: default
helm:
chart:
repoUrl: https://kubernetes.github.io/ingress-nginx
name: ingress-nginx
version: 4.12.2
values: |
controller:
hostPort:
enabled: true
service:
type: NodePort
ingress:
enabled: true
- name: gitea
description: "gitea package"
pipeline:
steps:
- name: init
image: dtzar/helm-kubectl
namespace:
name: default
waitCondition:
type: service
endpoint:
name: ingress-nginx-controller-admission
port: 443
path: /health
- name: install
image: dtzar/helm-kubectl
namespace:
name: gitea
helm:
chart:
repoUrl: https://dl.gitea.com/charts/
name: gitea
values: |
redis-cluster:
enabled: false
postgresql:
enabled: false
postgresql-ha:
enabled: false
valkey-cluster:
enabled: false
persistence:
enabled: false
gitea:
admin:
# existingSecret: <NAME_OF_SECRET>
username: "giteaAdmin"
password: "developer"
email: "gi@tea.com"
config:
database:
DB_TYPE: sqlite3
session:
PROVIDER: memory
cache:
ADAPTER: memory
queue:
TYPE: level
service:
ssh:
type: NodePort
nodePort: 32222
externalTrafficPolicy: Local
ingress:
enabled: true
className: nginx
hosts:
- host: gitea.localtest.me
paths:
- path: /
pathType: Prefix