2024-04-27 16:07:55 +00:00
|
|
|
image:
|
|
|
|
repository: quay.io/backube/volsync
|
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
tag: 0.9.1
|
|
|
|
proxyImage:
|
|
|
|
repository: quay.io/brancz/kube-rbac-proxy
|
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
tag: v0.14.0
|
|
|
|
|
|
|
|
manageCRDs: true
|
|
|
|
manageVSCCRD: true
|
|
|
|
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
replicas: 1
|
|
|
|
strategy: RollingUpdate
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
args:
|
|
|
|
- --health-probe-bind-address=:8081
|
|
|
|
- --metrics-bind-address=127.0.0.1:8080
|
|
|
|
- --leader-elect
|
|
|
|
- --rclone-container-image={{ printf "%s:%s" .Values.image.repository .Values.image.tag }}
|
|
|
|
- --restic-container-image={{ printf "%s:%s" .Values.image.repository .Values.image.tag }}
|
|
|
|
- --rsync-container-image={{ printf "%s:%s" .Values.image.repository .Values.image.tag }}
|
|
|
|
- --rsync-tls-container-image={{ printf "%s:%s" .Values.image.repository .Values.image.tag }}
|
|
|
|
- --syncthing-container-image={{ printf "%s:%s" .Values.image.repository .Values.image.tag }}
|
|
|
|
- --scc-name=volsync-privileged-mover
|
|
|
|
command:
|
|
|
|
- /manager
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
path: "/healthz"
|
|
|
|
readiness:
|
|
|
|
path: "/readyz"
|
|
|
|
startup:
|
|
|
|
path: "/readyz"
|
|
|
|
kube-rbac-proxy:
|
|
|
|
enabled: true
|
|
|
|
imageSelector: proxyImage
|
|
|
|
args:
|
|
|
|
- --secure-listen-address=0.0.0.0:8443
|
|
|
|
- --upstream=http://127.0.0.1:8080/
|
|
|
|
- --logtostderr=true
|
|
|
|
- "--tls-min-version=VersionTLS12"
|
|
|
|
- --v=0
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
cpu: 500m
|
|
|
|
memory: 128Mi
|
|
|
|
requests:
|
|
|
|
cpu: 5m
|
|
|
|
memory: 64Mi
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
type: tcp
|
|
|
|
port: 8443
|
|
|
|
readiness:
|
|
|
|
type: tcp
|
|
|
|
port: 8443
|
|
|
|
startup:
|
|
|
|
type: tcp
|
|
|
|
port: 8443
|
2024-04-28 00:17:07 +00:00
|
|
|
|
2024-04-27 16:07:55 +00:00
|
|
|
# -- Options for all pods
|
|
|
|
# Can be overruled per pod
|
|
|
|
podOptions:
|
|
|
|
automountServiceAccountToken: true
|
|
|
|
|
|
|
|
metrics:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
type: servicemonitor
|
|
|
|
endpoints:
|
|
|
|
- port: metrics
|
|
|
|
path: /metrics
|
|
|
|
targetSelector: metrics
|
|
|
|
|
|
|
|
# -- Options for the main traefik service, where the entrypoints traffic comes from
|
|
|
|
# from.
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 8081
|
|
|
|
targetPort: 8081
|
|
|
|
protocol: http
|
|
|
|
metrics:
|
|
|
|
enabled: true
|
|
|
|
type: ClusterIP
|
|
|
|
ports:
|
|
|
|
metrics:
|
|
|
|
enabled: true
|
|
|
|
port: 8443
|
|
|
|
targetPort: 8443
|
|
|
|
protocol: https
|
|
|
|
|
|
|
|
# -- The service account the pods will use to interact with the Kubernetes API
|
|
|
|
serviceAccount:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
primary: true
|
2024-04-28 00:17:07 +00:00
|
|
|
|
2024-04-27 16:07:55 +00:00
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
# -- Whether Role Based Access Control objects like roles and rolebindings should be created
|
|
|
|
rbac:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
primary: true
|
|
|
|
clusterWide: false
|
|
|
|
rules:
|
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- ""
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- configmaps
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- create
|
|
|
|
- update
|
|
|
|
- patch
|
|
|
|
- delete
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- coordination.k8s.io
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- leases
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- create
|
|
|
|
- update
|
|
|
|
- patch
|
|
|
|
- delete
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- ""
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- events
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
|
|
|
- patch
|
2024-04-27 16:07:55 +00:00
|
|
|
|
|
|
|
cluster:
|
|
|
|
enabled: true
|
|
|
|
primary: false
|
|
|
|
clusterWide: true
|
|
|
|
allServiceAccounts: true
|
|
|
|
rules:
|
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- authentication.k8s.io
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- tokenreviews
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- authorization.k8s.io
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- subjectaccessreviews
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- apps
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- deployments
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
|
|
|
- delete
|
|
|
|
- deletecollection
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- patch
|
|
|
|
- update
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- batch
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- jobs
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
|
|
|
- delete
|
|
|
|
- deletecollection
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- patch
|
|
|
|
- update
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- ""
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- configmaps
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- ""
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- events
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
|
|
|
- patch
|
|
|
|
- update
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- ""
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- namespaces
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- ""
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- nodes
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- ""
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- persistentvolumeclaims
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
|
|
|
- delete
|
|
|
|
- deletecollection
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- patch
|
|
|
|
- update
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- ""
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- persistentvolumeclaims/finalizers
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
|
|
|
- delete
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- patch
|
|
|
|
- update
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- ""
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- persistentvolumes
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- patch
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- ""
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- pods
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- ""
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- pods/log
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- ""
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- secrets
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
|
|
|
- delete
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- patch
|
|
|
|
- update
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- ""
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- serviceaccounts
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
|
|
|
- delete
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- patch
|
|
|
|
- update
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- ""
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- services
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
|
|
|
- delete
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- patch
|
|
|
|
- update
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- events.k8s.io
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- events
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
|
|
|
- patch
|
|
|
|
- update
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- populator.storage.k8s.io
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- volumepopulators
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- patch
|
|
|
|
- update
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- rbac.authorization.k8s.io
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- rolebindings
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
|
|
|
- delete
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- patch
|
|
|
|
- update
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- rbac.authorization.k8s.io
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- roles
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
|
|
|
- delete
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- patch
|
|
|
|
- update
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- security.openshift.io
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- securitycontextconstraints
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- patch
|
|
|
|
- update
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- security.openshift.io
|
2024-04-27 16:07:55 +00:00
|
|
|
resourceNames:
|
2024-04-28 00:17:07 +00:00
|
|
|
- volsync-privileged-mover
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- securitycontextconstraints
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- use
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- snapshot.storage.k8s.io
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- volumesnapshots
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
|
|
|
- delete
|
|
|
|
- deletecollection
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- patch
|
|
|
|
- update
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- storage.k8s.io
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- storageclasses
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- volsync.backube
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- replicationdestinations
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
|
|
|
- delete
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- patch
|
|
|
|
- update
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- volsync.backube
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- replicationdestinations/finalizers
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
|
|
|
- delete
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- patch
|
|
|
|
- update
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- volsync.backube
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- replicationdestinations/status
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- get
|
|
|
|
- patch
|
|
|
|
- update
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- volsync.backube
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- replicationsources
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
|
|
|
- delete
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- patch
|
|
|
|
- update
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- volsync.backube
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- replicationsources/finalizers
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- create
|
|
|
|
- delete
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- patch
|
|
|
|
- update
|
|
|
|
- watch
|
2024-04-27 16:07:55 +00:00
|
|
|
- apiGroups:
|
2024-04-28 00:17:07 +00:00
|
|
|
- volsync.backube
|
2024-04-27 16:07:55 +00:00
|
|
|
resources:
|
2024-04-28 00:17:07 +00:00
|
|
|
- replicationsources/status
|
2024-04-27 16:07:55 +00:00
|
|
|
verbs:
|
2024-04-28 00:17:07 +00:00
|
|
|
- get
|
|
|
|
- patch
|
|
|
|
- update
|