Project Octal Extras is a collection of helm charts that can be selectively and easily deployed to any Kubernetes cluster with ArgoCD.
If you're currently on version v0.0.1
or older the following steps need to be followed to prevent potential disruption. The following steps assume the root Octal-Extras module was created with the name my_octal_extras
# Import the Octal-Extras ArgoCD Project
terraform import -var-file=secrets.tfvars 'module.my_octal_extras.module.octal_extras_argocd_project[0].kubernetes_manifest.argo_project' "apiVersion=argoproj.io/v1alpha1,kind=AppProject,namespace=kube-argocd,name=project-octal-extras"
# Import the KubeDB ArgoCD Application
terraform import -var-file=secrets.tfvars 'module.my_octal_extras.module.octal_extras_kubedb[0].module.kubedb_argocd_application.kubernetes_manifest.argo_application' "apiVersion=argoproj.io/v1alpha1,kind=Application,namespace=kube-argocd,name=kubedb"
# Import the Rookio ArgoCD Application
terraform import -var-file=secrets.tfvars 'module.my_octal_extras.module.octal_extras_rookio[0].module.rookio_argocd_application.kubernetes_manifest.argo_application' "apiVersion=argoproj.io/v1alpha1,kind=Application,namespace=kube-argocd,name=rook-ceph"
# Delete the old Octal-Extras ArgoCD Project state object
terraform state rm 'module.my_octal_extras.module.octal_extras_argocd_project[0].k8s_manifest.argo_project'
# Delete the old Kubedb ArgoCD state object
terraform state rm 'module.my_octal_extras.module.octal_extras_kubedb[0].module.kubedb_argocd_application.k8s_manifest.argo_application'
# Delete the old RookIO ArgoCD state object
terraform state rm 'module.my_octal_extras.module.octal_extras_rookio[0].module.rookio_argocd_application.k8s_manifest.argo_application'
# Lastly, run a Terraform apply to make sure the states are synced up.
terraform apply -var-file secrets.tfvars
Name | Version | Link | License |
---|---|---|---|
Kubedb | v2021.03.17 | https://kubedb.com/ | AppsCode-Community-1.0.0 |
Rook | v1.5.9 | https://rook.io/ | Apache License 2.0 |
Name | Version |
---|---|
terraform | >= 0.14.8, < 2.0.0 |
kubernetes | ~> 2.6.1 |
Name | Version |
---|---|
kubernetes | 2.6.1 |
Name | Source | Version |
---|---|---|
octal_extras_argocd_project | project-octal/argocd-project/kubernetes | 2.0.0 |
octal_extras_kubedb | ./terraform-octal-kubedb | n/a |
octal_extras_rookio | ./terraform-octal-rookio | n/a |
Name | Type |
---|---|
kubernetes_namespace.kubedb_namespace | resource |
kubernetes_namespace.rookio_namespace | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
argocd_namespace | n/a | string |
n/a | yes |
deployment_cluster | n/a | string |
"https://kubernetes.default.svc" |
no |
enabled_extras | n/a | object({ |
{} |
no |
Name | Description |
---|---|
kubedb_namespace | n/a |
rookio_namespace | n/a |