k3s-cluster/kubernetes/main/apps/default/cdn/helm-release.yaml

77 lines
1.8 KiB
YAML
Raw Normal View History

# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
2023-04-18 22:42:58 +00:00
kind: HelmRelease
metadata:
name: nginx-cdn
namespace: default
spec:
interval: 5m
chart:
spec:
chart: app-template
version: 3.5.1
2023-04-18 22:42:58 +00:00
sourceRef:
kind: HelmRepository
name: bjws-charts
namespace: flux-system
values:
controllers:
main:
pod:
securityContext:
runAsNonRoot: true
runAsUser: 65534
runAsGroup: 65533
fsGroup: 10000
fsGroupChangePolicy: OnRootMismatch
containers:
main:
image:
2024-09-15 03:43:09 +00:00
repository: git.${SECRET_NEW_DOMAIN}/seanomik/nginx
tag: 1.27.1
pullPolicy: Always
resources:
requests:
memory: 500Mi
2023-04-18 22:42:58 +00:00
securityContext:
allowPrivilegeEscalation: false
capabilities: { drop: ["ALL"] }
2023-04-20 21:13:47 +00:00
2023-04-18 22:42:58 +00:00
service:
app:
controller: main
2023-04-18 22:42:58 +00:00
ports:
http:
2023-04-21 05:10:17 +00:00
port: 6544
2023-04-18 22:42:58 +00:00
ingress:
main:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure
hosts:
2024-09-15 03:43:09 +00:00
- host: "cdn.${SECRET_NEW_DOMAIN}"
paths:
- path: /
service:
identifier: app
port: http
2023-04-18 22:42:58 +00:00
persistence:
config:
type: configMap
name: nginx-cdn-configmap
globalMounts:
- path: /etc/nginx/nginx.conf
subPath: nginx.conf
2023-04-18 22:42:58 +00:00
storage:
type: hostPath
hostPath: /mnt/MainPool/Kubernetes/cdn/data
globalMounts:
- path: /data