Files
homelab/k8s-ng/apps/openartifact/values.yaml
T
Aleksandr Bogomiakov cabc9b167a
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 6s
Deploy OpenArtifact with node-local package storage
2026-11-24 19:38:55 +02:00

60 lines
1.3 KiB
YAML

baseUrl: https://repo.hexor.cy
replicaCount: 1
updateStrategy:
type: Recreate
nodeSelector:
kubernetes.io/hostname: master
persistence:
enabled: false
database:
external:
host: main-rw.psql.svc.cluster.local
name: openartifact
user: openartifact
existingSecret: openartifact-db
secrets:
existingSecret: openartifact-keys
bootstrap:
existingSecret: openartifact-admin
extraInitContainers:
- name: prepare-storage
image: docker.io/library/busybox:1.37.0@sha256:a7dbc319b1438115a207e11930dc4bb3e643dcb3ec0bdd694bb36cd8fad289ec
command:
- sh
- -ec
- |
chown 10001:10001 /artifacts /backups
chmod 0700 /artifacts /backups
securityContext:
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: [ALL]
add: [CHOWN, FOWNER]
volumeMounts:
- name: data
mountPath: /artifacts
- name: backups
mountPath: /backups
ingress:
enabled: true
className: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt
traefik.ingress.kubernetes.io/router.entrypoints: websecure
hosts:
- host: repo.hexor.cy
paths:
- path: /
pathType: Prefix
tls:
- hosts: [repo.hexor.cy]
secretName: openartifact-tls