e2e / workstation (archlinux) (pull_request) Failing after 4s
e2e / workstation (generic-linux) (pull_request) Failing after 11s
e2e / configure (talos) (pull_request) Has been skipped
Flux Diff / Flux Diff (kubernetes, helmrelease) (pull_request) Failing after 14s
Flux Diff / Flux Diff (kubernetes, kustomization) (pull_request) Failing after 13s
Kubeconform / Kubeconform (pull_request) Failing after 10s
Labeler / Labeler (pull_request_target) Successful in 7s
109 lines
2.7 KiB
YAML
109 lines
2.7 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: &app capacitor
|
|
spec:
|
|
interval: 15m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 3.7.3
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bjw-s
|
|
namespace: flux-system
|
|
install:
|
|
createNamespace: true
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
remediation:
|
|
retries: 3
|
|
values:
|
|
controllers:
|
|
capacitor:
|
|
replicas: 1
|
|
pod:
|
|
securityContext:
|
|
fsGroup: 999
|
|
# runAsGroup: 3000
|
|
# runAsNonRoot: true
|
|
# runAsUser: 1000
|
|
# seccompProfile:
|
|
# type: RuntimeDefault
|
|
containers:
|
|
app:
|
|
env:
|
|
TZ: ${SETTING_TZ}
|
|
|
|
image:
|
|
repository: ghcr.io/gimlet-io/capacitor
|
|
tag: v0.4.8@sha256:a80207f52c054dba9e04e8b1ea86e297817ecf05ddbfce249c1f5eaf6ce8c7d8
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 100
|
|
runAsGroup: 101
|
|
allowPrivilegeEscalation: false
|
|
readOnlyRootFilesystem: true
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
seccompProfile:
|
|
type: RuntimeDefault
|
|
|
|
probes:
|
|
startup:
|
|
enabled: false
|
|
liveness: &probe
|
|
enabled: true
|
|
custom: true
|
|
spec:
|
|
httpGet:
|
|
path: /
|
|
port: &port 9000
|
|
scheme: HTTP
|
|
initialDelaySeconds: 0
|
|
periodSeconds: 10
|
|
timeoutSeconds: 1
|
|
failureThreshold: 3
|
|
readiness: *probe
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 190m
|
|
memory: 127Mi
|
|
limits:
|
|
memory: 127Mi
|
|
|
|
serviceAccount:
|
|
create: false
|
|
name: capacitor
|
|
|
|
service:
|
|
app:
|
|
controller: capacitor
|
|
ports:
|
|
http:
|
|
enabled: true
|
|
port: *port
|
|
protocol: HTTP
|
|
|
|
ingress:
|
|
app:
|
|
enabled: true
|
|
className: internal
|
|
hosts:
|
|
- host: &host "{{ .Release.Name }}.${SECRET_INTERNAL_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
service:
|
|
identifier: app
|
|
port: http
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
secretName: "{{ .Release.Name }}-tls"
|