This terraform module helps you provision Portworx Backup on Kubernetes Clusters.This repository hosts the terraform module which can be used in conjunction with existing terraform scripts to provision Portworx Backup on Kubernetes.
This guide is intended to provide a quick start to users who want to manage Portworx Backup Installation on their existing Kubernetes Clusters using Terraform.
- Terraform >= 0.13
- Already Provisioned Kubernetes Cluster
kubectl
installed and pointed to the correct Kubernetes Clusterjq
,curl
,wget
installed on the local machine
The below hyperlinks guide you to understand and demonstrate the features and capabilities of this Terraform module:
Name | Version |
---|---|
terraform | >= 1.2.8 |
helm | ~> 2.7.1 |
kubernetes | ~> 2.14.0 |
null | >= 3.1.1 |
Name | Version |
---|---|
helm | ~> 2.7.1 |
kubernetes | ~> 2.14.0 |
null | >= 3.1.1 |
No modules.
Name | Type |
---|---|
helm_release.portworx | resource |
helm_release.portworx_backup | resource |
kubernetes_manifest.storageclass_default | resource |
null_resource.label_nodes_px_license_server | resource |
null_resource.validate_portworx_backup_installation | resource |
null_resource.validate_portworx_installation | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
custom_image_registry | Configuration for Custom Image Registry: Image Registry, Image Repository, Image Pull Secrets | object({ |
null |
no |
enable_portworx | Enable Portworx Storage Cluster | bool |
true |
no |
enable_px_license_server | Enable Portworx License Server | bool |
false |
no |
external_oidc_provider | Configuration for external OIDC Provider: Endpoint, Client ID and Client Secret | object({ |
null |
no |
external_storage_class_name | Name of the already existing Storage Class to be used in-place of portworx_storage_class_config |
string |
"" |
no |
kubecontext | Name of the kubecontext | string |
n/a | yes |
namespace | Namespace to deploy PX-Central | string |
"central" |
no |
portworx_storage_class_config | Configuration for Default Portworx Storage Class: Name, Replications, Provisioner | object({ |
null |
no |
px_backup_version | Portworx Backup Image Version | string |
"2.3.1" |
no |
px_monitor_config | Configuration for Portworx Monitor: enable, Px-Central UI's Endpoint | object({ |
{ |
no |
px_operator_version | Portworx Operator Image Version | string |
"1.10.0" |
no |
px_version | Portworx Image Version (OCI Monitor Image) | string |
"2.12.0" |
no |
Name | Description |
---|---|
portworx_backup_status | value |
portworx_operator_status | value |
Apache License 2.0 - Copyright 2023 Pure Storage, Inc.