Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/headlamp #682

Merged
merged 2 commits into from
Nov 14, 2024
Merged

Feat/headlamp #682

merged 2 commits into from
Nov 14, 2024

Conversation

chrisbsmith
Copy link
Owner

Updates for

  • ingress path and type
  • authelia secret

Copy link

--- HelmRelease: kube-system/headlamp Ingress: kube-system/headlamp

+++ HelmRelease: kube-system/headlamp Ingress: kube-system/headlamp

@@ -15,8 +15,15 @@

   - hosts:
     - headlamp.${SECRET_DOMAIN}
     secretName: null
   rules:
   - host: headlamp.${SECRET_DOMAIN}
     http:
-      paths: null
+      paths:
+      - path: /
+        pathType: Prefix
+        backend:
+          service:
+            name: headlamp
+            port:
+              number: 80
 

Copy link

--- kubernetes/apps/auth/authelia/app Kustomization: flux-system/authelia ExternalSecret: auth/authelia

+++ kubernetes/apps/auth/authelia/app Kustomization: flux-system/authelia ExternalSecret: auth/authelia

@@ -58,12 +58,13 @@

           }}'
         BASE_DN: '{{ .CLOUDFLARE_DOMAIN }}'
         CODER_OAUTH_CLIENT_SECRET_HASH: '{{ .CODER_OAUTH_CLIENT_SECRET_HASH }}'
         DOMAIN: '{{ .CLOUDFLARE_DOMAIN }}'
         GITOPS_OAUTH_CLIENT_SECRET_HASH: '{{ .GITOPS_OAUTH_CLIENT_SECRET_HASH }}'
         GRAFANA_OAUTH_CLIENT_SECRET_HASH: '{{ .GRAFANA_OAUTH_CLIENT_SECRET_HASH }}'
+        HEADLAMP_OAUTH_CLIENT_SECRET_HASH: '{{ HEADLAMP_OAUTH_CLIENT_SECRET_HASH }}'
         INIT_POSTGRES_DBNAME: authelia
         INIT_POSTGRES_HOST: postgres16-rw.database.svc.cluster.local
         INIT_POSTGRES_PASS: '{{ .AUTHELIA_STORAGE_POSTGRES_PASSWORD }}'
         INIT_POSTGRES_SUPER_PASS: '{{ .POSTGRES_SUPER_PASS }}'
         INIT_POSTGRES_USER: '{{ .AUTHELIA_STORAGE_POSTGRES_USERNAME }}'
         LINKWARDEN_OAUTH_CLIENT_SECRET_HASH: '{{ .LINKWARDEN_OAUTH_CLIENT_SECRET_HASH
--- kubernetes/apps/kube-system/headlamp/app Kustomization: flux-system/headlamp HelmRelease: kube-system/headlamp

+++ kubernetes/apps/kube-system/headlamp/app Kustomization: flux-system/headlamp HelmRelease: kube-system/headlamp

@@ -37,11 +37,14 @@

     ingress:
       annotations:
         external-dns.alpha.kubernetes.io/target: internal.${SECRET_DOMAIN}
       enabled: true
       hosts:
       - host: headlamp.${SECRET_DOMAIN}
+        paths:
+        - path: /
+          type: Prefix
       ingressClassName: internal
       tls:
       - hosts:
         - headlamp.${SECRET_DOMAIN}
 

@chrisbsmith chrisbsmith merged commit 59ffed5 into main Nov 14, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant