From 608a95ca4fa23d2aef9a121a285f8332313df54c Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Thu, 27 Jun 2024 22:20:07 +0300 Subject: foobar --- README.md | 3 +++ helmfile.yaml | 2 ++ shared-values/common_values.yaml | 3 +++ third-party/gitea/gitea_values.yaml | 30 ++++++++++++++++++++++++++++++ third-party/gitea/helmfile.yaml | 12 ++++++++++++ 5 files changed, 50 insertions(+) create mode 100644 README.md create mode 100644 helmfile.yaml create mode 100644 shared-values/common_values.yaml create mode 100644 third-party/gitea/gitea_values.yaml create mode 100644 third-party/gitea/helmfile.yaml 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: admin@example.com + +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 -- cgit 1.4.1-2-gfad0