cert-manager-stack has been successfully installed!

This chart includes:
✓ cert-manager core (controller, webhook, cainjector)
{{- if .Values.cloudflare.enabled }}
✓ Cloudflare API token secret: {{ .Values.cloudflare.namespace }}/{{ .Values.cloudflare.secretName }}
{{- end }}
{{- if .Values.clusterIssuer.enabled }}
✓ ClusterIssuer: {{ .Values.clusterIssuer.name }}
{{- end }}

================================================================================

{{- if .Values.clusterIssuer.enabled }}
🎉 ClusterIssuer Ready!

Name:   {{ .Values.clusterIssuer.name }}
Email:  {{ .Values.clusterIssuer.email }}
Server: {{ .Values.clusterIssuer.server }}

To verify ClusterIssuer status:
  kubectl describe clusterissuer {{ .Values.clusterIssuer.name }}

================================================================================

📝 Usage Example - Certificate Resource:

apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: example-tls
  namespace: default
spec:
  secretName: example-tls-secret
  issuerRef:
    name: {{ .Values.clusterIssuer.name }}
    kind: ClusterIssuer
  dnsNames:
    - example.com
    - "*.example.com"

================================================================================

📝 Usage Example - Ingress with Annotations:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: example-ingress
  annotations:
    cert-manager.io/cluster-issuer: {{ .Values.clusterIssuer.name }}
spec:
  tls:
    - hosts:
        - example.com
      secretName: example-tls
  rules:
    - host: example.com
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: example-service
                port:
                  number: 80

{{- end }}

================================================================================

📚 Resources:
  cert-manager docs: https://cert-manager.io/docs/
  Configuration:     manifests/cert-manager-stack/values.yaml
  Chart source:      charts/cert-manager-stack/

🔍 Troubleshooting:
  kubectl logs -n cert-manager deploy/cert-manager-stack-certManager
  kubectl get clusterissuer,certificate --all-namespaces
