Ansible.K3sCluster/vars/applications.k3s.yml
Danny Bessems 3d38d84786
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Reenable Rancher w/ prereqs
2022-06-02 14:53:52 +02:00

83 lines
2.4 KiB
YAML

helm:
plugins:
- path: https://github.com/databus23/helm-diff
repositories:
- name: longhorn
url: https://charts.longhorn.io
- name: jetstack
url: https://charts.jetstack.io
- name: rancher-stable
url: https://releases.rancher.com/server-charts/stable
- name: gitea-charts
url: https://dl.gitea.io/charts/
charts:
- name: longhorn
namespace: longhorn-system
ref: longhorn/longhorn
- name: cert-manager
namespace: cert-manager
ref: jetstack/cert-manager
setvalues:
installCRDs: true
- name: rancher
namespace: cattle-system
ref: rancher-stable/rancher
setvalues:
hostname: rancher.bessems.lan
bootstrapPassword: admin
ingress.tls.source: letsEncrypt
letsEncrypt.email: me@example.org
letsEncrypt.ingress.class: nginx
- name: gitea
namespace: gitea
ref: gitea-charts/gitea
setvalues:
ingress:
enabled: true
# className: nginx
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: git.besssems.lan
paths:
- path: /
pathType: Prefix
persistence:
enabled: true
storageClass: longhorn
# gitea:
# admin:
# #existingSecret: gitea-admin-secret
# username: gitea_admin
# password: r8sA8CPHD9!bt6d
# email: "gitea@local.domain"
# - name: fleet-crd
# namespace: fleet-system
# ref: "https://github.com/rancher/fleet/releases/download/v0.3.9/fleet-crd-0.3.9.tgz"
# - name: fleet
# namespace: fleet-system
# ref: "https://github.com/rancher/fleet/releases/download/v0.3.9/fleet-0.3.9.tgz"
manifests:
- name: ingress_longhorn-frontend
definition: >-
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
namespace: longhorn-system
name: longhorn-ingress
annotations:
kubernetes.io/ingress.class: "traefik"
spec:
rules:
- host: storage.bessems.lan
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: longhorn-frontend
port:
number: 80