(chore) init commit and add tasks
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
apiVersion: helm.cattle.io/v1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: homarr
|
||||
namespace: dashboard
|
||||
spec:
|
||||
chart:
|
||||
repository: https://homarr-labs.github.io/charts/
|
||||
name: homarr
|
||||
version: "~1"
|
||||
values:
|
||||
env:
|
||||
AUTH_PROVIDERS: "oidc"
|
||||
AUTH_OIDC_CLIENT_ID: "homarr"
|
||||
AUTH_OIDC_ISSUER: "https://authentik.riotpiao.homelab.com/application/o/homarr/"
|
||||
AUTH_OIDC_URI: "https://authentik.riotpiao.homelab.com/application/o/homarr/.well-known/openid-configuration"
|
||||
AUTH_OIDC_GROUPS_ATTRIBUTE: "groups"
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: homarr-oidc
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClass: longhorn
|
||||
size: 2Gi
|
||||
@@ -0,0 +1,24 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: homarr
|
||||
namespace: dashboard
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
- hosts:
|
||||
- homarr.riotpiao.homelab.com
|
||||
secretName: homarr-tls
|
||||
rules:
|
||||
- host: homarr.riotpiao.homelab.com
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: homarr
|
||||
port:
|
||||
number: 3000
|
||||
@@ -0,0 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: dashboard
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- secret.yaml
|
||||
- helmrelease.yaml
|
||||
- ingress.yaml
|
||||
@@ -0,0 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: dashboard
|
||||
labels:
|
||||
app.kubernetes.io/name: homarr
|
||||
managed-by: argocd
|
||||
@@ -0,0 +1,8 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: homarr-oidc
|
||||
namespace: dashboard
|
||||
type: Opaque
|
||||
stringData:
|
||||
AUTH_OIDC_CLIENT_SECRET: "PLACEHOLDER_CHANGE_ME"
|
||||
Reference in New Issue
Block a user