Add the ability to specify a username and password
2020-10-13
v3.0.0
Remove prefix for velero subchart due to moving to upstream chart
2020-12-09
v3.1.0
Add Service and ServiceMonitor for Prometheus Operator monitoring
2021-03-01
v3.1.1
Refactor for plan noise from ServiceMonitor and deprecated syntax
2021-04-12
v3.2.0
Add servicemonitor_labels variable
2021-12-15
v4.0.0
Convert ServiceMonitor to kubernetes_manifest and update for Terraform v1
2022-08-04
v5.0.0
Remove Prometheus Operator monitoring, now available through the chart
2023-01-05
v5.1.0
Added Velero rules from kube-prometheus-stack
2023-01-09
v5.2.0
Add runbook links to Prometheus rules
2023-02-03
v5.2.1
Specify sensitive variables
2023-04-12
v5.3.0
In Velero rules that use aggregation, group by cluster as well.
2023-04-12
v6.0.0
Remove Backup Storage Location variables and consolidate cloud provider credential & helm repository variables into cloud_provider_credentials & helm_repository respectively.
Upgrading
From v4.x to v5.x
If using the Prometheus Operator to monitor Velero metrics:
Ensure that chart-version is at or above 2.14.4
Remove the Terraform variables enable_monitoring, monitoring_namespace, servicemonitor_labels, and metrics_port
Refer to the Velero Helm chart values in the usage example for the ServiceMonitor configuration.
The metrics Service is enabled by default. It can be explicitly disabled by setting metrics.enabled to false
The usage example places the ServiceMonitor into the same namespace as the Prometheus Operator. A different namespace can be specified, or no namespace can be specified defaulting to placement in the same namespace as Velero. In those cases, the Prometheus Operator may need to be configured to pick up ServiceMonitors from namespaces other than its own.
From v3.x to v4.x
Note that in Usage the dependencies array has been replaced by the depends_on array.
If you have enabled and will continue to enable monitoring, a manual step is required for the Velero ServiceMonitor.
If a brief interruption in Velero metrics is acceptable, delete the ServiceMonitor prior to the upgrade. It will be recreated during the upgrade process.
Otherwise, import the ServiceMonitor into Terraform: terraform import module.helm_velero.kubernetes_manifest.velero_servicemonitor[0] "apiVersion=monitoring.coreos.com/v1,kind=ServiceMonitor,namespace=monitoring,name=velero-monitor"
If your monitoring namespace is not called monitoring, use the actual monitoring namespace name after namespace=