snapshot-controller

by stevehipwell

Helm chartv0.1.0App 8.2.0Verified publisher

Helm chart for the External Snapshotter Snapshot Controller. The CSI snapshotter is part of Kubernetes implementation of Container Storage Interface (CSI) and implements both the volume snapshot and the volume group snapshot feature.

About this chart

snapshot-controller

Helm chart for the External Snapshotter Snapshot Controller. The CSI snapshotter is part of Kubernetes implementation of Container Storage Interface (CSI) and implements both the volume snapshot and the volume group snapshot feature.

Homepage: https://github.com/kubernetes-csi/external-snapshotter/

Maintainers

NameEmailUrl
stevehipwell[email protected]

Source Code

Installing the Chart

OCI Repository

To install the chart using the recommended OCI method you can use the following command.

helm upgrade --install snapshot-controller oci://ghcr.io/stevehipwell/helm-charts/snapshot-controller --version 0.1.0

Verification

As the OCI chart release is signed by Cosign you can verify the chart before installing it by running the following command.

cosign verify --certificate-oidc-issuer https://token.actions.githubusercontent.com --certificate-identity-regexp 'https://github\.com/action-stars/helm-workflows/\.github/workflows/release\.yaml@.+' --certificate-github-workflow-repository stevehipwell/helm-charts --certificate-github-workflow-name Release ghcr.io/stevehipwell/helm-charts/snapshot-controller:0.1.0

Non-OCI Repository

Alternatively you can use the legacy non-OCI method via the following commands.

helm repo add stevehipwell https://stevehipwell.github.io/helm-charts/
helm upgrade --install snapshot-controller stevehipwell/snapshot-controller --version 0.1.0

Values

KeyTypeDefaultDescription
affinityobject{}Affinity settings for scheduling. If an explicit label selector is not provided for pod affinity or pod anti-affinity one will be created from the pod selector labels.
commonLabelsobject{}Labels to add to all chart resources.
distributedSnapshotting.enabledboolfalseIf true, enable distributed snapshotting.
extraArgslist[]Additional args for the default container.
extraEnvlist[]Additional environment variables for the default container.
fullnameOverridestringnilOverride the full name of the chart.
image.pullPolicystring"IfNotPresent"Image pull policy for the default container.
image.repositorystring"registry.k8s.io/sig-storage/snapshot-controller"Image repository for the default container.
image.tagstringnilImage tag for the default container; this will default to .Chart.AppVersion if not set.
imagePullSecretslist[]Image pull secrets.
livenessProbeobjectSee values.yamlLiveness probe configuration for the default container; this only works where there are multiple replicas.
logLevelint5Log level.
nameOverridestringnilOverride the name of the chart.
nodeSelectorobject{}Node selector labels for scheduling.
podAnnotationsobject{}Annotations to add to the pod.
podDisruptionBudget.enabledboolfalseIf true, create a PodDisruptionBudget.
podDisruptionBudget.maxUnavailablestringnilMinimum number of unavailable pods; either a number or a percentage.
podDisruptionBudget.minAvailablestringnilMinimum number of available pods; either a number or a percentage.
podDisruptionBudget.unhealthyPodEvictionPolicystringnilUnhealthy pod eviction policy PDB.
podLabelsobject{}Labels to add to the pod.
podSecurityContextobjectSee values.yamlSecurity context for the pod.
priorityClassNamestringnilPriority class name.
readinessProbeobjectSee values.yamlReadiness probe configuration for the default container; this only works where there are multiple replicas.
replicasint1Number of replicas to create.
resourcesobject{}Resources for the default container.
retryCrdIntervalMaxint30Maximum interval between retries for CRD operations; in seconds.
securityContextobjectSee values.yamlSecurity context for the default container.
service.annotationsobject{}Annotations to add to the service.
service.labelsobject{}Labels to add to the service.
serviceAccount.annotationsobject{}Annotations to add to the service account.
serviceAccount.createbooltrueIf true, create a new ServiceAccount.
serviceAccount.labelsobject{}Labels to add to the service account.
serviceAccount.namestringnilIf this is set and serviceAccount.create is true this will be used for the created ServiceAccount name, if set and serviceAccount.create is false then this will define an existing ServiceAccount to use.
serviceMonitor.additionalLabelsobject{}Additional labels for the service monitor.
serviceMonitor.enabledboolfalseIf true, create a ServiceMonitor to support collecting metrics via the Prometheus Operator.
serviceMonitor.endpointConfigobject{}Additional endpoint configuration for the service monitor endpoint.
terminationGracePeriodSecondsintnilTermination grace period; in seconds.
tolerationslist[]Node taints the pod will be tolerate for scheduling.
topologySpreadConstraintslist[]Topology spread constraints for scheduling. If an explicit label selector is not provided one will be created from the pod selector labels.
updateStrategyobject{}Update strategy.

Autogenerated from chart metadata using helm-docs.

Deploy snapshot-controller with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has snapshot-controller on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartsnapshot-controller is pinned at v0.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply