diff --git a/README.md b/README.md index 5a73998..d846406 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,9 @@ -# argocd-autopilot-cert-manager-controller -Install Cert-Manager Controller on Arocd Autopilot +# Cert-Manager for ArgoCD Autopilot # + +Install Cert-Manager Controller on Argocd Autopilot. + +## Procedure ## + +Create a project + +add this repo as a application under the above project diff --git a/certmanager-clusterissuer.yaml b/certmanager-clusterissuer.yaml new file mode 100644 index 0000000..4f783fa --- /dev/null +++ b/certmanager-clusterissuer.yaml @@ -0,0 +1,16 @@ +--- +apiVersion: cert-manager.io/v1 +kind: ClusterIssuer +metadata: + name: letsencrypt-production + namespace: cert-manager +spec: + acme: + server: https://acme-v02.api.letsencrypt.org/directory + email: anisha@corra.com + privateKeySecretRef: + name: letsencrypt-production + solvers: + - http01: + ingress: + class: nginx diff --git a/kustomization.yaml b/kustomization.yaml new file mode 100644 index 0000000..4f1ea79 --- /dev/null +++ b/kustomization.yaml @@ -0,0 +1,13 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +helmCharts: +- name: cert-manager + version: 1.7.2 + repo: https://charts.jetstack.io + valuesFile: values.yaml + namespace: cert-manager + releaseName: cert-manager + +resources: +- certmanager-clusterissuer.yaml diff --git a/values.yaml b/values.yaml new file mode 100644 index 0000000..1f48474 --- /dev/null +++ b/values.yaml @@ -0,0 +1,23 @@ +# Basic over-ride file values.yaml for Cert-Manager + +# Configure the namespace for Cert-Manager +global: + namespace: cert-manager + +# Enable CRD installation +installCRDs: true + +# Configure the Cert-Manager issuer +# This is just an example, adjust according to your needs +issuer: + email: anisha@corra.com + +# Enable/disable various Cert-Manager features +features: + # Enable/disable ingress support + ingress: true + # Enable/disable webhook support + webhook: true + +# Additional configuration for specific components (e.g., ACME, DNS, etc.) +# These values depend on the specific configurations you want to set up