It's time to renew certs and I'm trying to generate new certificates through applying yaml files on my kubernetes cluster.
I've removed the old secret containing the expired cert and by updating the clusterissuer.yml and certificate.yml I hope to automatically generate a new.
@griffin I seem to remember something about you working with the terrible thing called kubernetes, does this stuff ring any bell to you? It totally makes no sense to me
I ran this command:
kubectl apply -f clusterissuer
kubectl apply -certificate
My web server is (include version):
chrome lastest stable, firefox latest stable
The operating system my web server runs on is (include version):
Ubuntu 20
My hosting provider, if applicable, is:
godaddy
I can login to a root shell on my machine (yes or no, or I don't know):yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): cert manager 1.0.4
Here's what I get get i run kubectl describe certificate:
Name: epic-tls
Namespace: default
Labels:
Annotations:
API Version: cert-manager.io/v1
Kind: Certificate
Metadata:
Creation Timestamp: 2023-02-14T20:51:43Z
Generation: 1
Managed Fields:
API Version: cert-manager.io/v1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.:
f:kubectl.kubernetes.io/last-applied-configuration:
f:spec:
.:
f:dnsNames:
f:issuerRef:
.:
f:kind:
f:name:
f:secretName:
Manager: kubectl-client-side-apply
Operation: Update
Time: 2023-02-14T20:51:43Z
API Version: cert-manager.io/v1
Fields Type: FieldsV1
fieldsV1:
f:status:
.:
f:conditions:
f:nextPrivateKeySecretName:
Manager: controller
Operation: Update
Time: 2023-02-14T20:51:44Z
Resource Version: 72393485
UID: 6771c762-f833-42e7-bcbb-ffcff470ee49
Spec:
Dns Names: epicdev.backend.disastertech.com epic.dev.disastertech.com
Issuer Ref:
Kind: ClusterIssuer
Name: letsencrypt-dev
Secret Name: epic-tls
Status:
Conditions:
Last Transition Time: 2023-02-14T20:51:43Z
Message: Issuing certificate as Secret does not exist
Observed Generation: 1
Reason: DoesNotExist
Status: False
Type: Ready
Last Transition Time: 2023-02-14T20:51:44Z
Message: Issuing certificate as Secret does not exist
Observed Generation: 1
Reason: DoesNotExist
Status: True
Type: Issuing
Next Private Key Secret Name: epic-tls-7vgdc
Events:
Type Reason Age From Message
Normal Issuing 3m51s cert-manager Issuing certificate as Secret does not exist
Normal Generated 3m51s cert-manager Stored new private key in temporary Secret resource "epic-tls-7vgdc"
Normal Requested 3m51s cert-manager Created new CertificateRequest resource "epic-tls-sqjtc"