feat: add docs and cabinet apps, fix data-test chart

This commit is contained in:
sova-bootstrap
2026-05-28 12:06:15 +03:00
parent 413f771dd4
commit ea70b96d0c
10 changed files with 401 additions and 132 deletions
+5
View File
@@ -0,0 +1,5 @@
apiVersion: v2
name: docs
description: Static documentation site for Sova test contour
type: application
version: 0.1.0
+63
View File
@@ -0,0 +1,63 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: docs
namespace: {{ .Values.namespace }}
labels:
app: docs
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: docs
template:
metadata:
labels:
app: docs
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: docs
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: 8080
name: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
---
apiVersion: v1
kind: Service
metadata:
name: docs
namespace: {{ .Values.namespace }}
spec:
selector:
app: docs
ports:
- port: 80
targetPort: 8080
---
{{- if .Values.ingress.enabled }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: docs
namespace: {{ .Values.namespace }}
spec:
ingressClassName: {{ .Values.ingress.className }}
rules:
- host: {{ .Values.ingress.host }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: docs
port:
number: 80
{{- end }}
+8
View File
@@ -0,0 +1,8 @@
ingress:
host: docs.sova.local
image:
tag: docs-v1.0.1-test
pullPolicy: IfNotPresent
repository: git.sova.local/sova/docs
imagePullSecrets:
- name: gitea-registry
+23
View File
@@ -0,0 +1,23 @@
namespace: sova-test
image:
repository: sova-docs
tag: local-test
pullPolicy: IfNotPresent
imagePullSecrets: []
replicaCount: 1
ingress:
enabled: true
className: nginx
host: docs.sova.local
resources:
requests:
cpu: 25m
memory: 32Mi
limits:
cpu: 100m
memory: 64Mi