Skip to content

Latest commit

 

History

History

README.md

AWS Route53


1. Create Secret

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-manager

2. Create ClusterIssuer

The 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.yaml

3. Create Certificate and Ingress

Create the remaining resources in your application namespace:

kubectl apply -f certificate.yaml -n <application-namespace>
kubectl apply -f ingress.yaml -n <application-namespace>

Reference