Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reinstall latest cert-manager #147

Open
kdcllc opened this issue Jun 24, 2021 · 0 comments
Open

Reinstall latest cert-manager #147

kdcllc opened this issue Jun 24, 2021 · 0 comments

Comments

@kdcllc
Copy link
Owner

kdcllc commented Jun 24, 2021

    kubectl config set-context --current --namespace kube-system
    kubectl get crds

    kubectl delete crd certificaterequests.cert-manager.io `
    kubectl delete crd certificates.cert-manager.io `
    kubectl delete crd certificates.certmanager.k8s.io `
    kubectl delete crd challenges.acme.cert-manager.io `
    kubectl delete crd challenges.certmanager.k8s.io `
    kubectl delete crd clusterissuers.cert-manager.io `
    kubectl delete crd clusterissuers.certmanager.k8s.io `
    kubectl delete crd healthstates.azmon.container.insights `
    kubectl delete crd issuers.cert-manager.io `
    kubectl delete crd issuers.certmanager.k8s.io `
    kubectl delete crd orders.acme.cert-manager.io `
    kubectl delete crd orders.certmanager.k8s.io
    kubectl create namespace cert-manager

  # helped to clean up resrouces
   helm template cert-manager jetstack/cert-manager --namespace cert-manager | kubectl delete -f -

  # Install
 helm install `
  cert-manager `
  --namespace cert-manager `
  --version v1.3.1 `
  --set installCRDs=true `
  --set nodeSelector."beta\.kubernetes\.io/os"=linux `
  jetstack/cert-manager
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  name: letsencrypt-prod-v1
spec:
  acme:
    server: https://acme-v02.api.letsencrypt.org/directory
    email: email@gmail.com
    privateKeySecretRef:
      name: letsencrypt-prod-v1
    solvers:
    - http01:
        ingress:
          class: nginx
          podTemplate:
            spec:
              nodeSelector:
                "kubernetes.io/os": linux
@kdcllc kdcllc changed the title Update Cert-manager Reinstall latest cert-manager Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant