Create a Kubernetes Secret with your AWS Secret Access Key:
# Option 1: Apply the manifest (namespace is already defined in the YAML)
kubectl apply -f route53-credentials-secret.yaml
# Option 2: Create via kubectl command
kubectl create secret generic route53-credentials-secret \
--from-literal=secret-access-key=AWS_SECRET_ACCESS_KEY \
--namespace=cert-managerThe credentials secret is created in the cert-manager namespace. The ClusterIssuer is a cluster-scoped resource and does not belong to any namespace.
kubectl apply -f clusterissuer.yamlCreate the remaining resources in your application namespace:
kubectl apply -f certificate.yaml -n <application-namespace>
kubectl apply -f ingress.yaml -n <application-namespace>