{"id":19039887,"url":"https://github.com/cert-manager/testing-addons","last_synced_at":"2026-02-27T18:45:37.444Z","repository":{"id":37559129,"uuid":"503682373","full_name":"cert-manager/testing-addons","owner":"cert-manager","description":"Tooling to deploy cert-manager with external dependencies for local testing","archived":false,"fork":false,"pushed_at":"2022-11-08T11:37:37.000Z","size":60,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-05-27T12:40:17.735Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cert-manager.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-15T08:36:16.000Z","updated_at":"2022-09-14T12:15:32.000Z","dependencies_parsed_at":"2022-07-12T16:23:28.455Z","dependency_job_id":null,"html_url":"https://github.com/cert-manager/testing-addons","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cert-manager%2Ftesting-addons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cert-manager%2Ftesting-addons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cert-manager%2Ftesting-addons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cert-manager%2Ftesting-addons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cert-manager","download_url":"https://codeload.github.com/cert-manager/testing-addons/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238671622,"owners_count":19511124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T22:19:23.900Z","updated_at":"2026-02-27T18:45:32.403Z","avatar_url":"https://github.com/cert-manager.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/cert-manager/cert-manager/d53c0b9270f8cd90d908460d69502694e1838f5f/logo/logo-small.png\" height=\"256\" width=\"256\" alt=\"cert-manager project logo\" /\u003e\n\u003c/p\u003e\n\n# Testing Addons\n\nThis repository contains testing addons for the cert-manager project.\n\nIt is to save time when testing cert-manager working with external dependencies.\n\nMainly refer this [proposal](https://docs.google.com/document/d/14oJux-d-91Do3DLi5eRG-wUEE4R3Hh7D4u0Yfje3auw/edit#heading=h.9chr39ggpwbe).\n\n**Current Available Workflows**:\n\n- [Cert-manager and Vault](./cm-vault/)\n- [Cert-manager and Gateway](./cm-gateway/)\n- [Cert-manager and Ingress](./cm-ingress/)\n\n## Precondition\n\n### [Install Kubectl](https://kubernetes.io/docs/tasks/tools/#kubectl)\n\nKubectl is used to perform actions that are not supported by native Terraform resources\n\n### [Install Helm](https://helm.sh/docs/intro/install/)\n\nHelm is the best way to find, share, and use software built for Kubernetes.\n\n### [Install Terraform](https://www.terraform.io/downloads)\n\nTerraform is an IT infrastructure automation orchestration tool.\n\n### [Install Terragrunt](https://terragrunt.gruntwork.io/docs/getting-started/install/)\n\nTerragrunt is a thin wrapper that provides extra tools for keeping your configurations DRY, working with multiple Terraform modules, and managing remote state.\n\n### Configure Terraform Plugin Cache.\n\nThe configuration directory of each dependence can share the cache to improve the execution speed.\n\n```\n$ mkdir -p $HOME/.terraform.d/plugin-cache\n$ export TF_PLUGIN_CACHE_DIR=\"$HOME/.terraform.d/plugin-cache\" \n```\n\n## Usage Steps\n\nTake Vault as an example.\n\n### 1. Go to the installation directory of specific dependency.\n\n```\ncd cm-vault\n```\n\n### 2. Execute `terragrunt run-all init`\n```\n$ terragrunt run-all init\nINFO[0000] The stack at /root/lonelyCZ/testing-addons/cm-vault will be processed in the following order for command init:\nGroup 1\n- Module /root/lonelyCZ/testing-addons/cm-vault/cm-install\n- Module /root/lonelyCZ/testing-addons/cm-vault/vault-install\n\nGroup 2\n- Module /root/lonelyCZ/testing-addons/cm-vault/vault-config\n\nGroup 3\n- Module /root/lonelyCZ/testing-addons/cm-vault/cm-config\n\n\nInitializing the backend...\n```\n\n### 3. Execute `terragrunt run-all apply`\n\n```\n$ terragrunt run-all apply\nINFO[0000] The stack at /root/lonelyCZ/testing-addons/cm-vault will be processed in the following order for command apply:\nGroup 1\n- Module /root/lonelyCZ/testing-addons/cm-vault/cm-install\n- Module /root/lonelyCZ/testing-addons/cm-vault/vault-install\n\nGroup 2\n- Module /root/lonelyCZ/testing-addons/cm-vault/vault-config\n\nGroup 3\n- Module /root/lonelyCZ/testing-addons/cm-vault/cm-config\n\nAre you sure you want to run 'terragrunt apply' in each folder of the stack described above? (y/n) y\n```\n\n### 4. Destroy Test Environment.\n\n```\n$ terragrunt run-all destroy\nINFO[0000] The stack at /root/lonelyCZ/testing-addons/cm-vault will be processed in the following order for command destroy:\nGroup 1\n- Module /root/lonelyCZ/testing-addons/cm-vault/cm-config\n\nGroup 2\n- Module /root/lonelyCZ/testing-addons/cm-vault/cm-install\n- Module /root/lonelyCZ/testing-addons/cm-vault/vault-config\n\nGroup 3\n- Module /root/lonelyCZ/testing-addons/cm-vault/vault-install\n\nWARNING: Are you sure you want to run `terragrunt destroy` in each folder of the stack described above? There is no undo! (y/n) y\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcert-manager%2Ftesting-addons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcert-manager%2Ftesting-addons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcert-manager%2Ftesting-addons/lists"}