feat: upgrade app-template charts to 2.0.3

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2023-11-02 13:05:58 -04:00
1 parent 6d39a567bf
commit 49c491b806
3 files changed
+81 -58

No files matched your search

@@ -9,7 +9,7 @@ spec:
chart: chart:
spec: spec:
chart: app-template chart: app-template
version: 1.5.1 version: 2.0.3
interval: 30m interval: 30m
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
@@ -27,29 +27,38 @@ spec:
uninstall: uninstall:
keepHistory: false keepHistory: false
values: values:
controllers:
main:
annotations:
reloader.stakater.com/auto: "true"
containers:
main:
image: image:
repository: ghcr.io/morphy2k/rss-forwarder repository: ghcr.io/morphy2k/rss-forwarder
tag: 0.6.1 tag: 0.6.1
env: env:
TZ: "${TIMEZONE}" TZ: "${TIMEZONE}"
service:
main: &disableSvc
enabled: false
ingress:
main: *disableSvc
probes: probes:
liveness: *disableSvc liveness: &disabled
readiness: *disableSvc enabled: false
startup: *disableSvc readiness: *disabled
startup: *disabled
resources:
requests:
cpu: 5m
memory: 10M
limits:
memory: 64M
service:
main: *disabled
ingress:
main: *disabled
persistence: persistence:
data: config:
enabled: true enabled: true
type: secret type: secret
name: discord-template-notifier-secret name: discord-template-notifier-secret
resources: globalMounts:
requests: - path: /data/config.toml
cpu: 15m subPath: config.toml
memory: 110M readOnly: true
limits:
cpu: 15m
memory: 110M
@@ -9,7 +9,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
@@ -25,11 +25,14 @@ spec:
uninstall: uninstall:
keepHistory: false keepHistory: false
values: values:
controller: controllers:
replicas: 1 main:
replicas: 2
strategy: RollingUpdate strategy: RollingUpdate
annotations: annotations:
reloader.stakater.com/auto: "true" reloader.stakater.com/auto: "true"
containers:
main:
image: image:
repository: docker.io/cloudflare/cloudflared repository: docker.io/cloudflare/cloudflared
tag: 2023.10.0 tag: 2023.10.0
@@ -50,20 +53,6 @@ spec:
- /etc/cloudflared/config/config.yaml - /etc/cloudflared/config/config.yaml
- run - run
- "$(TUNNEL_ID)" - "$(TUNNEL_ID)"
service:
main:
ports:
http:
port: 8080
serviceMonitor:
main:
enabled: true
endpoints:
- port: http
scheme: http
path: /metrics
interval: 1m
scrapeTimeout: 30s
probes: probes:
liveness: &probes liveness: &probes
enabled: true enabled: true
@@ -71,7 +60,7 @@ spec:
spec: spec:
httpGet: httpGet:
path: /ready path: /ready
port: http port: &port 8080
initialDelaySeconds: 0 initialDelaySeconds: 0
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 1 timeoutSeconds: 1
@@ -79,24 +68,37 @@ spec:
readiness: *probes readiness: *probes
startup: startup:
enabled: false enabled: false
resources:
requests:
cpu: 5m
memory: 128M
limits:
memory: 256M
pod:
securityContext:
runAsUser: 568
runAsGroup: 568
service:
main:
ports:
http:
port: *port
serviceMonitor:
main:
enabled: true
persistence: persistence:
config: config:
enabled: true enabled: true
type: configMap type: configMap
name: cloudflared-configmap name: cloudflared-configmap
globalMounts:
- path: /etc/cloudflared/config/config.yaml
subPath: config.yaml subPath: config.yaml
mountPath: /etc/cloudflared/config/config.yaml
readOnly: true readOnly: true
creds: creds:
enabled: true
type: secret type: secret
name: cloudflared-secret name: cloudflared-secret
globalMounts:
- path: /etc/cloudflared/creds/credentials.json
subPath: credentials.json subPath: credentials.json
mountPath: /etc/cloudflared/creds/credentials.json
readOnly: true readOnly: true
resources:
requests:
cpu: 5m
memory: 10Mi
limits:
memory: 256Mi
@@ -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
@@ -26,16 +26,17 @@ spec:
uninstall: uninstall:
keepHistory: false keepHistory: false
values: values:
controller: controllers:
main:
replicas: 2
strategy: RollingUpdate strategy: RollingUpdate
containers:
main:
image: image:
repository: docker.io/jmalloc/echo-server repository: docker.io/jmalloc/echo-server
tag: 0.3.6 tag: 0.3.6
service: env:
main: PORT: &port 8080
ports:
http:
port: &port 8080
probes: probes:
liveness: &probes liveness: &probes
enabled: true enabled: true
@@ -51,6 +52,21 @@ spec:
readiness: *probes readiness: *probes
startup: startup:
enabled: false enabled: false
resources:
requests:
cpu: 5m
memory: 10M
limits:
memory: 64M
pod:
securityContext:
runAsUser: 568
runAsGroup: 568
service:
main:
ports:
http:
port: *port
ingress: ingress:
main: main:
enabled: true enabled: true
@@ -62,13 +78,9 @@ spec:
- host: &host "{% raw %}{{ .Release.Name }}{% endraw %}.${SECRET_DOMAIN}" - host: &host "{% raw %}{{ .Release.Name }}{% endraw %}.${SECRET_DOMAIN}"
paths: paths:
- path: / - path: /
pathType: Prefix service:
name: main
port: http
tls: tls:
- hosts: - hosts:
- *host - *host
resources:
requests:
cpu: 5m
memory: 10Mi
limits:
memory: 50Mi