2024-02-04 15:14:38 -06:00
|
|
|
---
|
2024-03-19 17:38:08 -05:00
|
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
|
2024-02-04 15:14:38 -06:00
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: &app dragonfly-operator
|
|
|
|
spec:
|
|
|
|
interval: 30m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
2024-03-19 17:20:21 -05:00
|
|
|
version: 3.0.4
|
2024-02-04 15:14:38 -06:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: bjw-s
|
|
|
|
namespace: flux-system
|
|
|
|
install:
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
upgrade:
|
|
|
|
cleanupOnFail: true
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
2024-03-19 18:43:34 -05:00
|
|
|
strategy: rollback
|
2024-02-04 15:14:38 -06:00
|
|
|
values:
|
|
|
|
serviceAccount:
|
|
|
|
create: false
|
|
|
|
name: dragonfly-operator-controller-manager
|
|
|
|
controllers:
|
2024-03-19 17:38:08 -05:00
|
|
|
dragonfly-operator:
|
2024-02-04 15:14:38 -06:00
|
|
|
containers:
|
|
|
|
rbac-proxy:
|
|
|
|
image:
|
|
|
|
repository: gcr.io/kubebuilder/kube-rbac-proxy
|
2024-02-04 16:00:37 -06:00
|
|
|
tag: v0.15.0
|
2024-02-04 15:14:38 -06:00
|
|
|
args:
|
|
|
|
- "--secure-listen-address=0.0.0.0:8443"
|
|
|
|
- "--upstream=http://127.0.0.1:8080/"
|
|
|
|
- "--logtostderr=true"
|
|
|
|
- "--v=0"
|
|
|
|
securityContext:
|
|
|
|
allowPrivilegeEscalation: false
|
|
|
|
readOnlyRootFilesystem: true
|
|
|
|
capabilities: { drop: ["ALL"] }
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 5m
|
|
|
|
memory: 64Mi
|
|
|
|
limits:
|
|
|
|
cpu: 500m
|
|
|
|
memory: 128Mi
|
2024-03-19 17:38:08 -05:00
|
|
|
app:
|
2024-02-04 15:14:38 -06:00
|
|
|
image:
|
|
|
|
repository: docker.dragonflydb.io/dragonflydb/operator
|
2024-02-26 05:00:56 -06:00
|
|
|
tag: v1.1.1
|
2024-02-04 15:14:38 -06:00
|
|
|
args:
|
|
|
|
- "--health-probe-bind-address=:8081"
|
|
|
|
- "--metrics-bind-address=127.0.0.1:8080"
|
|
|
|
- "--leader-elect"
|
|
|
|
command:
|
|
|
|
- "/manager"
|
|
|
|
securityContext:
|
|
|
|
allowPrivilegeEscalation: false
|
|
|
|
readOnlyRootFilesystem: true
|
|
|
|
capabilities: { drop: ["ALL"] }
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: true
|
|
|
|
custom: true
|
|
|
|
spec:
|
|
|
|
httpGet:
|
|
|
|
path: /healthz
|
|
|
|
port: &port 8081
|
|
|
|
initialDelaySeconds: 15
|
|
|
|
periodSeconds: 20
|
|
|
|
timeoutSeconds: 1
|
|
|
|
failureThreshold: 3
|
|
|
|
readiness:
|
|
|
|
enabled: true
|
|
|
|
custom: true
|
|
|
|
spec:
|
|
|
|
httpGet:
|
|
|
|
path: /readyz
|
|
|
|
port: *port
|
|
|
|
initialDelaySeconds: 5
|
|
|
|
periodSeconds: 10
|
|
|
|
timeoutSeconds: 1
|
|
|
|
failureThreshold: 3
|
|
|
|
startup:
|
|
|
|
enabled: false
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 10m
|
|
|
|
memory: 64Mi
|
|
|
|
limits:
|
|
|
|
cpu: 500m
|
|
|
|
memory: 128Mi
|
|
|
|
annotations:
|
|
|
|
reloader.stakater.com/auto: "true"
|
|
|
|
pod:
|
|
|
|
affinity:
|
|
|
|
nodeAffinity:
|
|
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
|
|
nodeSelectorTerms:
|
|
|
|
- matchExpressions:
|
|
|
|
- key: kubernetes.io/arch
|
|
|
|
operator: In
|
|
|
|
values:
|
|
|
|
- amd64
|
|
|
|
- arm64
|
|
|
|
- ppc64le
|
|
|
|
- s390x
|
|
|
|
- key: kubernetes.io/os
|
|
|
|
operator: In
|
|
|
|
values:
|
|
|
|
- linux
|
|
|
|
topologySpreadConstraints:
|
|
|
|
- maxSkew: 1
|
|
|
|
topologyKey: kubernetes.io/hostname
|
|
|
|
whenUnsatisfiable: DoNotSchedule
|
|
|
|
labelSelector:
|
|
|
|
matchLabels:
|
|
|
|
app.kubernetes.io/name: *app
|
|
|
|
service:
|
2024-03-19 17:38:08 -05:00
|
|
|
app:
|
|
|
|
controller: dragonfly-operator
|
2024-02-04 15:14:38 -06:00
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
port: *port
|