https://github.com/oracle-devrel/oci-arch-oke-gitops-argo-cd
oci-arch-oke-gitops-argo-cd
https://github.com/oracle-devrel/oci-arch-oke-gitops-argo-cd
Last synced: about 3 hours ago
JSON representation
oci-arch-oke-gitops-argo-cd
- Host: GitHub
- URL: https://github.com/oracle-devrel/oci-arch-oke-gitops-argo-cd
- Owner: oracle-devrel
- License: upl-1.0
- Created: 2022-06-27T22:08:58.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-21T20:28:45.000Z (over 1 year ago)
- Last Synced: 2026-04-21T18:49:23.012Z (2 months ago)
- Language: HCL
- Size: 32.2 KB
- Stars: 3
- Watchers: 8
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Security: SECURITY.md
Awesome Lists containing this project
README
# OCI-OKE-ArgoCD
## Introduction
This Terraform code will allow you deploy Argo CD to an existing OKE cluster or new OKE cluster.
## Terraform Provider for Oracle Cloud Infrastructure
The OCI Terraform Provider is now available for automatic download through the Terraform Provider Registry.
For more information on how to get started view the [documentation](https://www.terraform.io/docs/providers/oci/index.html)
and [setup guide](https://www.terraform.io/docs/providers/oci/guides/version-3-upgrade.html).
* [Documentation](https://www.terraform.io/docs/providers/oci/index.html)
* [OCI forums](https://cloudcustomerconnect.oracle.com/resources/9c8fa8f96f/summary)
* [Github issues](https://github.com/terraform-providers/terraform-provider-oci/issues)
* [Troubleshooting](https://www.terraform.io/docs/providers/oci/guides/guides/troubleshooting.html)
## Deploy Using Oracle Resource Manager
1. Click [](https://cloud.oracle.com/resourcemanager/stacks/create?region=home&zipUrl=https://github.com/oracle-devrel/oci-arch-oke-gitops-argo-cd/archive/refs/tags/v2.zip)
## Deploy Using the Terraform CLI
### Clone the Module
Now, you'll want a local copy of this repo. You can make that with the commands:
git clone https://github.com/oracle-devrel/oci-arch-oke-gitops-argo-cd
cd oci_arch-oke-gitops-argo-cd
ls
### Prerequisites
First off, you'll need to do some pre-deploy setup. That's all detailed [here](https://github.com/cloud-partners/oci-prerequisites).
```
# Authentication
tenancy_ocid = ""
user_ocid = ""
fingerprint = ""
private_key_path = ""
# Region
region = ""
# Compartment
compartment_ocid = ""
# oke-variables
existent_oke_cluster_id = "ocid_of_Oke_cluster_to_deploy_helm "
````
Deploy:
terraform init
terraform plan
terraform apply
## Destroy the Deployment
When you no longer need the deployment, you can run this command to destroy it:
terraform destroy
Note: Application deployment within OKE will lead to OCI LoadBalancer provisioning, created outside the Terraform realm. Consequently, terraform destroy operation will not be able to destroy OKE as dependent LB will stay untouched. Therefore you should destroy LB from OCI Console perspective beforehand. Then you can continue with terraform destroy command.