k3s-cluster/cluster/apps/default/exim/helm-release.yaml

48 lines
1.1 KiB
YAML

# 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/v2beta2
kind: HelmRelease
metadata:
name: exim
namespace: default
spec:
interval: 5m
chart:
spec:
chart: app-template
version: 3.1.0
sourceRef:
kind: HelmRepository
name: bjws-charts
namespace: flux-system
values:
controllers:
main:
pod:
securityContext:
runAsNonRoot: true
# runAsUser: 10000
# runAsGroup: 10000
# fsGroup: 10000
# fsGroupChangePolicy: OnRootMismatch
containers:
main:
image:
repository: docker.io/devture/exim-relay
tag: 4.97.1-r0-0
env:
HOSTNAME: k3s cluster lab
envFrom:
- secretRef:
name: exim-env
service:
app:
controller: main
ports:
smtp:
port: 8025