diff --git a/09_Homepage/README.md b/09_Homepage/README.md new file mode 100644 index 0000000..8b2a0a1 --- /dev/null +++ b/09_Homepage/README.md @@ -0,0 +1,6 @@ + +Install via helm: +https://gethomepage.dev/installation/k8s/#install-with-helm + + +helm upgrade --install homepage jameswynn/homepage -f homepage-values.yaml --create-namespace --namespace homepage diff --git a/09_Homepage/homepage-certificate.yaml b/09_Homepage/homepage-certificate.yaml new file mode 100644 index 0000000..a9a143b --- /dev/null +++ b/09_Homepage/homepage-certificate.yaml @@ -0,0 +1,12 @@ +apiVersion: cert-manager.io/v1 +kind: Certificate +metadata: + name: homepage-ingress-certificate + namespace: homepage +spec: + secretName: homepage-certificate-secret + issuerRef: + name: cloudflare-cluster-issuer + kind: ClusterIssuer + dnsNames: + - homepage.k8s.internal.schnrbs.work \ No newline at end of file diff --git a/09_Homepage/homepage-values.yaml b/09_Homepage/homepage-values.yaml new file mode 100644 index 0000000..6535eee --- /dev/null +++ b/09_Homepage/homepage-values.yaml @@ -0,0 +1,65 @@ +config: + bookmarks: + - Developer: + - Github: + - abbr: GH + href: https://github.com/ + services: + - My First Group: + - My First Service: + href: http://localhost/ + description: Homepage is awesome + + - My Second Group: + - My Second Service: + href: http://localhost/ + description: Homepage is the best + + - My Third Group: + - My Third Service: + href: http://localhost/ + description: Homepage is 😎 + widgets: + # show the kubernetes widget, with the cluster summary and individual nodes + - kubernetes: + cluster: + show: true + cpu: true + memory: true + showLabel: true + label: "cluster" + nodes: + show: true + cpu: true + memory: true + showLabel: true + - search: + provider: duckduckgo + target: _blank + kubernetes: + mode: cluster + settings: + +# The service account is necessary to allow discovery of other services +serviceAccount: + create: true + name: homepage + +# This enables the service account to access the necessary resources +enableRbac: true + +ingress: + main: + enabled: true + annotations: + # Example annotations to add Homepage to your Homepage! + gethomepage.dev/enabled: "true" + gethomepage.dev/name: "Homepage" + gethomepage.dev/description: "Dynamically Detected Homepage" + gethomepage.dev/group: "Dynamic" + gethomepage.dev/icon: "homepage.png" + hosts: + - host: homepage.k8s.internal.schnrbs.work + paths: + - path: / + pathType: Prefix \ No newline at end of file