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/name: {{ include "dvirlabs-landing.name" . }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
spec:
|
spec:
|
||||||
{{- with .Values.imagePullSecrets }}
|
|
||||||
imagePullSecrets:
|
|
||||||
{{- toYaml . | nindent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
containers:
|
containers:
|
||||||
- name: dvirlabs-landing
|
- name: dvirlabs-landing
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||||
@ -31,13 +27,8 @@ spec:
|
|||||||
- name: http
|
- name: http
|
||||||
containerPort: 80
|
containerPort: 80
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
env:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
- name: LAB_LINKS
|
||||||
volumeMounts:
|
value: {{ toJson .Values.links | quote }}
|
||||||
- name: html
|
|
||||||
mountPath: /usr/share/nginx/html/index.html
|
|
||||||
subPath: index.html
|
|
||||||
volumes:
|
|
||||||
- name: html
|
|
||||||
configMap:
|
|
||||||
name: {{ include "dvirlabs-landing.fullname" . }}
|
|
||||||
|
|||||||
@ -29,7 +29,26 @@ tolerations: []
|
|||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
links:
|
links:
|
||||||
gitea: "https://git.dvirlabs.com"
|
- id: gitea
|
||||||
grafana: "https://grafana.dvirlabs.com"
|
label: "Git Service"
|
||||||
argocd: "https://argocd.dvirlabs.com"
|
desc: "Self-hosted Git repositories & CI integration."
|
||||||
wiki: "https://wiki.dvirlabs.com"
|
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: {}
|
affinity: {}
|
||||||
|
|
||||||
links:
|
links:
|
||||||
gitea: "https://git.dvirlabs.com"
|
- id: gitea
|
||||||
grafana: "https://grafana.dvirlabs.com"
|
label: "Git Service"
|
||||||
argocd: "https://argocd.dvirlabs.com"
|
desc: "Self-hosted Git repositories & CI integration."
|
||||||
wiki: "https://wiki.dvirlabs.com"
|
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