⬆️ kubernetes-schemas app-template v2

This commit is contained in:
auricom
2023-11-02 17:06:30 +01:00
parent bff9a44491
commit 019c576e0c

View File

@@ -10,7 +10,7 @@ spec:
chart: chart:
spec: spec:
chart: app-template chart: app-template
version: 1.5.1 version: 2.0.3
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: bjw-s name: bjw-s
@@ -27,12 +27,20 @@ spec:
uninstall: uninstall:
keepHistory: false keepHistory: false
values: values:
controller: controllers:
replicas: 2 main:
strategy: RollingUpdate strategy: RollingUpdate
image: containers:
repository: ghcr.io/auricom/kubernetes-schemas main:
tag: latest@sha256:10a820cdb488d8f6b4d406bed7de78873b7d609dc624403018fca9452b268a4d image:
repository: ghcr.io/auricom/kubernetes-schemas
tag: latest@sha256:10a820cdb488d8f6b4d406bed7de78873b7d609dc624403018fca9452b268a4d
resources:
requests:
cpu: 10m
memory: 50Mi
limits:
memory: 100Mi
service: service:
main: main:
ports: ports:
@@ -41,7 +49,7 @@ spec:
ingress: ingress:
main: main:
enabled: true enabled: true
ingressClassName: nginx className: nginx
annotations: annotations:
external-dns.home.arpa/enabled: "true" external-dns.home.arpa/enabled: "true"
hajimari.io/enable: "false" hajimari.io/enable: "false"
@@ -49,20 +57,9 @@ spec:
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}" - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths: paths:
- path: / - path: /
pathType: Prefix service:
name: main
port: http
tls: tls:
- hosts: - hosts:
- *host - *host
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: *app
resources:
requests:
cpu: 10m
memory: 50Mi
limits:
memory: 100Mi