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
+133 -110

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:
image: controllers:
repository: ghcr.io/morphy2k/rss-forwarder main:
tag: 0.6.1 annotations:
env: reloader.stakater.com/auto: "true"
TZ: "${TIMEZONE}" containers:
main:
image:
repository: ghcr.io/morphy2k/rss-forwarder
tag: 0.6.1
env:
TZ: "${TIMEZONE}"
probes:
liveness: &disabled
enabled: false
readiness: *disabled
startup: *disabled
resources:
requests:
cpu: 5m
memory: 10M
limits:
memory: 64M
service: service:
main: &disableSvc main: *disabled
enabled: false
ingress: ingress:
main: *disableSvc main: *disabled
probes:
liveness: *disableSvc
readiness: *disableSvc
startup: *disableSvc
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,78 +25,80 @@ spec:
uninstall: uninstall:
keepHistory: false keepHistory: false
values: values:
controller: controllers:
replicas: 1 main:
strategy: RollingUpdate replicas: 2
annotations: strategy: RollingUpdate
reloader.stakater.com/auto: "true" annotations:
image: reloader.stakater.com/auto: "true"
repository: docker.io/cloudflare/cloudflared containers:
tag: 2023.10.0 main:
env: image:
NO_AUTOUPDATE: "true" repository: docker.io/cloudflare/cloudflared
TUNNEL_CRED_FILE: /etc/cloudflared/creds/credentials.json tag: 2023.10.0
TUNNEL_METRICS: 0.0.0.0:8080 env:
TUNNEL_TRANSPORT_PROTOCOL: quic NO_AUTOUPDATE: "true"
TUNNEL_POST_QUANTUM: true TUNNEL_CRED_FILE: /etc/cloudflared/creds/credentials.json
TUNNEL_ID: TUNNEL_METRICS: 0.0.0.0:8080
valueFrom: TUNNEL_TRANSPORT_PROTOCOL: quic
secretKeyRef: TUNNEL_POST_QUANTUM: true
name: cloudflared-secret TUNNEL_ID:
key: TUNNEL_ID valueFrom:
args: secretKeyRef:
- tunnel name: cloudflared-secret
- --config key: TUNNEL_ID
- /etc/cloudflared/config/config.yaml args:
- run - tunnel
- "$(TUNNEL_ID)" - --config
- /etc/cloudflared/config/config.yaml
- run
- "$(TUNNEL_ID)"
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /ready
port: &port 8080
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
startup:
enabled: false
resources:
requests:
cpu: 5m
memory: 128M
limits:
memory: 256M
pod:
securityContext:
runAsUser: 568
runAsGroup: 568
service: service:
main: main:
ports: ports:
http: http:
port: 8080 port: *port
serviceMonitor: serviceMonitor:
main: main:
enabled: true enabled: true
endpoints:
- port: http
scheme: http
path: /metrics
interval: 1m
scrapeTimeout: 30s
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /ready
port: http
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
startup:
enabled: false
persistence: persistence:
config: config:
enabled: true enabled: true
type: configMap type: configMap
name: cloudflared-configmap name: cloudflared-configmap
subPath: config.yaml globalMounts:
mountPath: /etc/cloudflared/config/config.yaml - path: /etc/cloudflared/config/config.yaml
readOnly: true subPath: config.yaml
readOnly: true
creds: creds:
enabled: true
type: secret type: secret
name: cloudflared-secret name: cloudflared-secret
subPath: credentials.json globalMounts:
mountPath: /etc/cloudflared/creds/credentials.json - path: /etc/cloudflared/creds/credentials.json
readOnly: true subPath: credentials.json
resources: readOnly: true
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,31 +26,47 @@ spec:
uninstall: uninstall:
keepHistory: false keepHistory: false
values: values:
controller: controllers:
strategy: RollingUpdate main:
image: replicas: 2
repository: docker.io/jmalloc/echo-server strategy: RollingUpdate
tag: 0.3.6 containers:
main:
image:
repository: docker.io/jmalloc/echo-server
tag: 0.3.6
env:
PORT: &port 8080
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /health
port: *port
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
startup:
enabled: false
resources:
requests:
cpu: 5m
memory: 10M
limits:
memory: 64M
pod:
securityContext:
runAsUser: 568
runAsGroup: 568
service: service:
main: main:
ports: ports:
http: http:
port: &port 8080
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /health
port: *port port: *port
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
startup:
enabled: false
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