about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--helmfile.yaml2
-rw-r--r--shared-values/common_values.yaml3
-rw-r--r--third-party/gitea/gitea_values.yaml30
-rw-r--r--third-party/gitea/helmfile.yaml12
5 files changed, 50 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..2ebede4
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# K3s - lab helm
+
+Different experiments with home k3s clusterk
diff --git a/helmfile.yaml b/helmfile.yaml
new file mode 100644
index 0000000..66b7593
--- /dev/null
+++ b/helmfile.yaml
@@ -0,0 +1,2 @@
+helmfiles:
+  - path: ./third-party/gitea/helmfile.yaml
diff --git a/shared-values/common_values.yaml b/shared-values/common_values.yaml
new file mode 100644
index 0000000..0fd34c4
--- /dev/null
+++ b/shared-values/common_values.yaml
@@ -0,0 +1,3 @@
+global:
+  logLevel: INFO
+  storageClass: "standard"
diff --git a/third-party/gitea/gitea_values.yaml b/third-party/gitea/gitea_values.yaml
new file mode 100644
index 0000000..4979b60
--- /dev/null
+++ b/third-party/gitea/gitea_values.yaml
@@ -0,0 +1,30 @@
+replicaCount: 1
+
+image:
+  registry: docker.io
+  repository: bitnami/gitea
+  tag: 1.14.2
+
+service:
+  type: LoadBalancer
+  port: 3000
+
+ingress:
+  enabled: true
+  hostname: gitea.localhost
+  path: /
+  tls: false
+
+gitea:
+  admin:
+    username: admin
+    password: adminpassword
+    email: [email protected]
+
+resources:
+  requests:
+    memory: 512Mi
+    cpu: 250m
+  limits:
+    memory: 1Gi
+    cpu: 500m
diff --git a/third-party/gitea/helmfile.yaml b/third-party/gitea/helmfile.yaml
new file mode 100644
index 0000000..4471d47
--- /dev/null
+++ b/third-party/gitea/helmfile.yaml
@@ -0,0 +1,12 @@
+repositories:
+  - name: gitea
+    url: https://charts.bitnami.com/bitnami
+
+releases:
+  - name: gitea
+    namespace: gitea
+    chart: gitea/gitea
+    version: 2.2.0
+    values:
+      - ./gitea_values.yaml
+      - ../../shared-values/common_values.yaml