🔥 headlamp

This commit is contained in:
auricom
2023-07-08 20:35:33 +02:00
parent 1244fb1de1
commit 2ef14709d6
5 changed files with 0 additions and 116 deletions

View File

@@ -1,75 +0,0 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/helm.toolkit.fluxcd.io/helmrelease_v2beta1.json
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: &app headlamp
namespace: default
spec:
interval: 15m
chart:
spec:
chart: app-template
version: 1.5.1
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
maxHistory: 3
install:
createNamespace: true
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
image:
repository: ghcr.io/kinvolk/headlamp
tag: v0.15.0
args:
- "-in-cluster"
- "-plugins-dir=/headlamp/plugins"
env:
HEADLAMP_CONFIG_OIDC_CLIENT_ID: headlamp
HEADLAMP_CONFIG_OIDC_IDP_ISSUER_URL: https://auth.${SECRET_CLUSTER_DOMAIN}/api/oidc/authorization
HEADLAMP_CONFIG_OIDC_CLIENT_SECRET: ${SECRET_HEADLAMP_OAUTH_CLIENT_SECRET}
service:
main:
ports:
http:
port: &port 4466
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /
port: *port
initialDelaySeconds: 30
timeoutSeconds: 30
ingress:
main:
enabled: true
ingressClassName: "nginx"
annotations:
auth.home.arpa/enabled: "true"
hajimari.io/icon: mdi:kubernetes
hosts:
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- *host
resources:
requests:
cpu: 15m
memory: 324M
limits:
memory: 604M

View File

@@ -1,8 +0,0 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kube-system
resources:
- ./helmrelease.yaml
- ./secret.yaml

View File

@@ -1,9 +0,0 @@
---
kind: Secret
apiVersion: v1
metadata:
name: headlamp-admin
namespace: kube-system
annotations:
kubernetes.io/service-account.name: "headlamp-admin"
type: kubernetes.io/service-account-token

View File

@@ -1,23 +0,0 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/kustomization_v1beta2.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-apps-headlamp
namespace: flux-system
labels:
substitution.flux.home.arpa/enabled: "true"
spec:
path: ./kubernetes/apps/kube-system/headlamp/app
prune: true
sourceRef:
kind: GitRepository
name: home-ops-kubernetes
healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
name: headlamp
namespace: kube-system
interval: 30m
retryInterval: 1m
timeout: 3m

View File

@@ -8,7 +8,6 @@ resources:
# Flux-Kustomizations
- ./cilium/ks.yaml
- ./descheduler/ks.yaml
- ./headlamp/ks.yaml
- ./intel-gpu/ks.yaml
- ./kubelet-csr-approver/ks.yaml
- ./metrics-server/ks.yaml