Compare commits
1 commit
29924470ce
...
d5b2a38669
Author | SHA1 | Date | |
---|---|---|---|
d5b2a38669 |
1 changed files with 33 additions and 66 deletions
|
@ -1,19 +1,18 @@
|
||||||
---
|
---
|
||||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
|
# yaml-language-server: $schema=https://ks.hsn.dev/helm.toolkit.fluxcd.io/helmrelease_v2.json
|
||||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
kind: HelmRelease
|
kind: HelmRelease
|
||||||
metadata:
|
metadata:
|
||||||
name: &app influxdb
|
name: &app influxdb
|
||||||
namespace: monitoring
|
|
||||||
spec:
|
spec:
|
||||||
interval: 30m
|
interval: 30m
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: app-template
|
chart: influxdb2
|
||||||
version: 3.5.1
|
version: 2.1.2
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: bjw-s
|
name: influxdata
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
install:
|
install:
|
||||||
remediation:
|
remediation:
|
||||||
|
@ -21,67 +20,35 @@ spec:
|
||||||
upgrade:
|
upgrade:
|
||||||
cleanupOnFail: true
|
cleanupOnFail: true
|
||||||
remediation:
|
remediation:
|
||||||
retries: 3
|
|
||||||
strategy: rollback
|
strategy: rollback
|
||||||
|
retries: 3
|
||||||
values:
|
values:
|
||||||
controllers:
|
fullnameOverride: *app
|
||||||
influxdb:
|
securityContext:
|
||||||
annotations:
|
allowPrivilegeEscalation: false
|
||||||
reloader.stakater.com/auto: "true"
|
capabilities: { drop: ["ALL"] }
|
||||||
containers:
|
fsGroup: 568
|
||||||
app:
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
image:
|
readOnlyRootFilesystem: true
|
||||||
repository: docker.io/influxdb
|
runAsNonRoot: true
|
||||||
tag: 2.7.10-alpine
|
runAsUser: 568
|
||||||
pullPolicy: IfNotPresent
|
runAsGroup: 568
|
||||||
|
seccompProfile: { type: RuntimeDefault }
|
||||||
env:
|
env:
|
||||||
INFLUXDB_ADMIN_USER_PASSWORD: "admin"
|
- name: INFLUXD_REPORTING_DISABLED
|
||||||
INFLUXDB_ADMIN_USER_TOKEN: ""
|
value: "true"
|
||||||
INFLUXD_REPORTING_DISABLED: true
|
|
||||||
probes:
|
|
||||||
liveness: &probe
|
|
||||||
type: "HTTP"
|
|
||||||
path: "/health"
|
|
||||||
port: &port 8086
|
|
||||||
spec:
|
|
||||||
initialDelaySeconds: 0
|
|
||||||
periodSeconds: 10
|
|
||||||
timeoutSeconds: 1
|
|
||||||
failureThreshold: 3
|
|
||||||
|
|
||||||
readiness: *probe
|
|
||||||
|
|
||||||
startup:
|
|
||||||
enabled: false
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
cpu: 10m
|
|
||||||
memory: 50Mi
|
|
||||||
|
|
||||||
service:
|
|
||||||
app:
|
|
||||||
controller: influxdb
|
|
||||||
ports:
|
|
||||||
http:
|
|
||||||
port: *port
|
|
||||||
|
|
||||||
ingress:
|
|
||||||
main:
|
|
||||||
className: internal-nginx
|
|
||||||
hosts:
|
|
||||||
- host: &host "{{ Release.Name }}.jahanson.tech"
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
service:
|
|
||||||
identifier: app
|
|
||||||
port: http
|
|
||||||
tls:
|
|
||||||
- hosts:
|
|
||||||
- *host
|
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
config:
|
storageClass: ceph-block
|
||||||
|
size: 50Gi
|
||||||
|
volumes:
|
||||||
|
- name: tmp
|
||||||
|
emptyDir: {}
|
||||||
|
mountPoints:
|
||||||
|
- name: tmp
|
||||||
|
mountPath: /tmp
|
||||||
|
service:
|
||||||
|
port: 8086
|
||||||
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
existingClaim: *app
|
className: internal-nginx
|
||||||
globalMounts:
|
hostname: "{{ Release.Name }}.jahanson.tech"
|
||||||
- path: /var/lib/influxdb2
|
|
||||||
|
|
Loading…
Reference in a new issue