e2e / workstation (archlinux) (pull_request) Failing after 2s
e2e / workstation (generic-linux) (pull_request) Failing after 6s
e2e / configure (talos) (pull_request) Has been skipped
Flux Diff / Flux Diff (kubernetes, helmrelease) (pull_request) Failing after 7s
Flux Diff / Flux Diff (kubernetes, kustomization) (pull_request) Failing after 9s
Kubeconform / Kubeconform (pull_request) Failing after 10s
Labeler / Labeler (pull_request_target) Successful in 8s
92 lines
2.3 KiB
YAML
92 lines
2.3 KiB
YAML
---
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: echo-server
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 3.7.2
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bjw-s
|
|
namespace: flux-system
|
|
install:
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
retries: 3
|
|
values:
|
|
controllers:
|
|
echo-server:
|
|
strategy: RollingUpdate
|
|
containers:
|
|
app:
|
|
image:
|
|
repository: ghcr.io/mendhak/http-https-echo
|
|
tag: 35
|
|
env:
|
|
HTTP_PORT: &port 8080
|
|
LOG_WITHOUT_NEWLINE: true
|
|
LOG_IGNORE_PATH: /healthz
|
|
PROMETHEUS_ENABLED: true
|
|
probes:
|
|
liveness: &probes
|
|
enabled: true
|
|
custom: true
|
|
spec:
|
|
httpGet:
|
|
path: /healthz
|
|
port: *port
|
|
initialDelaySeconds: 0
|
|
periodSeconds: 10
|
|
timeoutSeconds: 1
|
|
failureThreshold: 3
|
|
readiness: *probes
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
readOnlyRootFilesystem: true
|
|
capabilities: { drop: ["ALL"] }
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
limits:
|
|
memory: 64Mi
|
|
defaultPodOptions:
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 65534
|
|
runAsGroup: 65534
|
|
seccompProfile: { type: RuntimeDefault }
|
|
service:
|
|
app:
|
|
controller: echo-server
|
|
ports:
|
|
http:
|
|
port: *port
|
|
serviceMonitor:
|
|
app:
|
|
serviceName: echo-server
|
|
endpoints:
|
|
- port: http
|
|
scheme: http
|
|
path: /metrics
|
|
interval: 1m
|
|
scrapeTimeout: 10s
|
|
ingress:
|
|
app:
|
|
className: external
|
|
annotations:
|
|
external-dns.alpha.kubernetes.io/target: "external.${SECRET_DOMAIN}"
|
|
hosts:
|
|
- host: "{{ .Release.Name }}.${SECRET_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
service:
|
|
identifier: app
|
|
port: http
|