Added homepage autodiscovery to helm charts
All checks were successful
Build containers when image tags change / build-if-image-changed (backend, shorefront-backend, shorefront backend, backend/Dockerfile, git.baumann.gr/adebaumann/shorefront-backend, .backend.image) (push) Successful in 15s
Build containers when image tags change / build-if-image-changed (frontend, shorefront-frontend, shorefront frontend, frontend/Dockerfile, git.baumann.gr/adebaumann/shorefront-frontend, .frontend.image) (push) Successful in 17s
All checks were successful
Build containers when image tags change / build-if-image-changed (backend, shorefront-backend, shorefront backend, backend/Dockerfile, git.baumann.gr/adebaumann/shorefront-backend, .backend.image) (push) Successful in 15s
Build containers when image tags change / build-if-image-changed (frontend, shorefront-frontend, shorefront frontend, frontend/Dockerfile, git.baumann.gr/adebaumann/shorefront-frontend, .frontend.image) (push) Successful in 17s
This commit is contained in:
@@ -7,3 +7,7 @@ app.kubernetes.io/name: {{ include "shorefront.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
{{- end }}
|
||||
|
||||
{{- define "shorefront.podLabels" -}}
|
||||
app.kubernetes.io/name: {{ include "shorefront.name" . }}
|
||||
{{- end }}
|
||||
|
||||
@@ -15,6 +15,7 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: backend
|
||||
{{- include "shorefront.podLabels" . | nindent 8 }}
|
||||
spec:
|
||||
initContainers:
|
||||
- name: migrate
|
||||
|
||||
@@ -15,6 +15,7 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: frontend
|
||||
{{- include "shorefront.podLabels" . | nindent 8 }}
|
||||
spec:
|
||||
containers:
|
||||
- name: frontend
|
||||
|
||||
@@ -7,6 +7,9 @@ metadata:
|
||||
{{- include "shorefront.labels" . | nindent 4 }}
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
|
||||
{{- with .Values.ingress.annotations }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
ingressClassName: {{ .Values.ingress.ingressClassName }}
|
||||
rules:
|
||||
|
||||
@@ -15,6 +15,7 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: postgres
|
||||
{{- include "shorefront.podLabels" . | nindent 8 }}
|
||||
spec:
|
||||
securityContext:
|
||||
runAsUser: {{ .Values.postgres.runAsUser }}
|
||||
|
||||
@@ -34,6 +34,16 @@ nfs:
|
||||
ingress:
|
||||
host: shorefront.baumann.gr
|
||||
ingressClassName: traefik
|
||||
annotations:
|
||||
gethomepage.dev/enabled: "true"
|
||||
gethomepage.dev/name: "Shorefront"
|
||||
gethomepage.dev/description: "Shorewall management system"
|
||||
gethomepage.dev/group: "Kubernetes"
|
||||
gethomepage.dev/icon: ""
|
||||
gethomepage.dev/href: "https://shorefront.baumann.gr"
|
||||
gethomepage.dev/ping: "https://shorefront.baumann.gr"
|
||||
gethomepage.dev/pod-selector: "app.kubernetes.io/name=shorefront"
|
||||
|
||||
|
||||
keycloak:
|
||||
url: https://sso.baumann.gr
|
||||
|
||||
Reference in New Issue
Block a user