e2e / workstation (archlinux) (pull_request) Failing after 6s
e2e / workstation (generic-linux) (pull_request) Failing after 15s
e2e / configure (talos) (pull_request) Has been skipped
Flux Diff / Flux Diff (kubernetes, helmrelease) (pull_request) Failing after 17s
Flux Diff / Flux Diff (kubernetes, kustomization) (pull_request) Failing after 17s
Kubeconform / Kubeconform (pull_request) Failing after 15s
Labeler / Labeler (pull_request_target) Successful in 9s
116 lines
3.1 KiB
YAML
116 lines
3.1 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: &app homepage
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 3.5.1
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bjw-s
|
|
namespace: flux-system
|
|
install:
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
strategy: rollback
|
|
retries: 3
|
|
values:
|
|
controllers:
|
|
homepage:
|
|
annotations:
|
|
configmap.reloader.stakater.com/reload: *app
|
|
secret.reloader.stakater.com/reload: *app
|
|
containers:
|
|
app:
|
|
image:
|
|
repository: ghcr.io/gethomepage/homepage
|
|
tag: v1.1.1@sha256:be49a60307fcce7909acdaf2f3b2f3d168a0468d62869bf72d380625dde91fb9
|
|
env:
|
|
TZ: "${TIMEZONE}"
|
|
envFrom:
|
|
- secretRef:
|
|
name: *app
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
readOnlyRootFilesystem: true
|
|
capabilities: { drop: ["ALL"] }
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 128Mi
|
|
limits:
|
|
memory: 768Mi
|
|
defaultPodOptions:
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 568
|
|
runAsGroup: 568
|
|
fsGroup: 568
|
|
fsGroupChangePolicy: OnRootMismatch
|
|
seccompProfile: { type: RuntimeDefault }
|
|
service:
|
|
app:
|
|
controller: *app
|
|
ports:
|
|
http:
|
|
port: 3000
|
|
serviceAccount:
|
|
create: true
|
|
name: *app
|
|
ingress:
|
|
app:
|
|
className: internal
|
|
annotations:
|
|
external-dns.alpha.kubernetes.io/target: internal.${SECRET_INTERNAL_DOMAIN}
|
|
hosts:
|
|
- host: "home.${SECRET_INTERNAL_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
service:
|
|
identifier: app
|
|
port: http
|
|
persistence:
|
|
logs:
|
|
type: emptyDir
|
|
globalMounts:
|
|
- path: /app/config/logs
|
|
config:
|
|
type: emptyDir
|
|
globalMounts:
|
|
- path: /app/config
|
|
# services:
|
|
# type: secret
|
|
# name: *app
|
|
# globalMounts:
|
|
# - subPath: services.yaml
|
|
# path: /app/config/services.yaml
|
|
# readOnly: true
|
|
configmap:
|
|
type: configMap
|
|
name: *app
|
|
globalMounts:
|
|
- subPath: bookmarks.yaml
|
|
path: /app/config/bookmarks.yaml
|
|
readOnly: true
|
|
- subPath: docker.yaml
|
|
path: /app/config/docker.yaml
|
|
readOnly: true
|
|
- subPath: kubernetes.yaml
|
|
path: /app/config/kubernetes.yaml
|
|
readOnly: true
|
|
- subPath: settings.yaml
|
|
path: /app/config/settings.yaml
|
|
readOnly: true
|
|
- subPath: widgets.yaml
|
|
path: /app/config/widgets.yaml
|
|
readOnly: true
|