Fix root app
This commit is contained in:
parent
61adc336e5
commit
3028570af7
@ -1,12 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ include "dvirlabs-landing.fullname" . }}
|
||||
data:
|
||||
index.html: |
|
||||
{{- $html := .Files.Get "index.html" -}}
|
||||
{{- range $key, $val := .Values.links }}
|
||||
{{- $placeholder := printf "{{%s}}" $key -}}
|
||||
{{- $html = replace $placeholder $val $html -}}
|
||||
{{- end }}
|
||||
{{- $html | nindent 4 }}
|
||||
@ -19,10 +19,6 @@ spec:
|
||||
app.kubernetes.io/name: {{ include "dvirlabs-landing.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
spec:
|
||||
{{- with .Values.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: dvirlabs-landing
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
@ -31,13 +27,8 @@ spec:
|
||||
- name: http
|
||||
containerPort: 80
|
||||
protocol: TCP
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
volumeMounts:
|
||||
- name: html
|
||||
mountPath: /usr/share/nginx/html/index.html
|
||||
subPath: index.html
|
||||
volumes:
|
||||
- name: html
|
||||
configMap:
|
||||
name: {{ include "dvirlabs-landing.fullname" . }}
|
||||
env:
|
||||
- name: LAB_LINKS
|
||||
value: {{ toJson .Values.links | quote }}
|
||||
|
||||
|
||||
|
||||
@ -29,7 +29,26 @@ tolerations: []
|
||||
affinity: {}
|
||||
|
||||
links:
|
||||
gitea: "https://git.dvirlabs.com"
|
||||
grafana: "https://grafana.dvirlabs.com"
|
||||
argocd: "https://argocd.dvirlabs.com"
|
||||
wiki: "https://wiki.dvirlabs.com"
|
||||
- id: gitea
|
||||
label: "Git Service"
|
||||
desc: "Self-hosted Git repositories & CI integration."
|
||||
chip: "Gitea"
|
||||
url: "https://git.dvirlabs.com"
|
||||
|
||||
- id: grafana
|
||||
label: "Observability"
|
||||
desc: "Dashboards, metrics, and alerts for lab services."
|
||||
chip: "Grafana"
|
||||
url: "https://grafana.dvirlabs.com"
|
||||
|
||||
- id: argocd
|
||||
label: "GitOps Control"
|
||||
desc: "Applications managed declaratively via Argo CD."
|
||||
chip: "Argo CD"
|
||||
url: "https://argocd.dvirlabs.com"
|
||||
|
||||
- id: wiki
|
||||
label: "Lab Documentation"
|
||||
desc: "Architecture diagrams, notes, and how-tos."
|
||||
chip: "Wiki"
|
||||
url: "https://wiki.dvirlabs.com"
|
||||
|
||||
@ -29,7 +29,26 @@ tolerations: []
|
||||
affinity: {}
|
||||
|
||||
links:
|
||||
gitea: "https://git.dvirlabs.com"
|
||||
grafana: "https://grafana.dvirlabs.com"
|
||||
argocd: "https://argocd.dvirlabs.com"
|
||||
wiki: "https://wiki.dvirlabs.com"
|
||||
- id: gitea
|
||||
label: "Git Service"
|
||||
desc: "Self-hosted Git repositories & CI integration."
|
||||
chip: "Gitea"
|
||||
url: "https://git.dvirlabs.com"
|
||||
|
||||
- id: grafana
|
||||
label: "Observability"
|
||||
desc: "Dashboards, metrics, and alerts for lab services."
|
||||
chip: "Grafana"
|
||||
url: "https://grafana.dvirlabs.com"
|
||||
|
||||
- id: argocd
|
||||
label: "GitOps Control"
|
||||
desc: "Applications managed declaratively via Argo CD."
|
||||
chip: "Argo CD"
|
||||
url: "https://argocd.dvirlabs.com"
|
||||
|
||||
- id: wiki
|
||||
label: "Lab Documentation"
|
||||
desc: "Architecture diagrams, notes, and how-tos."
|
||||
chip: "Wiki"
|
||||
url: "https://wiki.dvirlabs.com"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user