The route template in our chart was made to be used with Certbot. Now that we aren't using Certbot to manage our cert in the production environment, we need two separate routes: one for dev and test environments using the old pattern, and one for production following the new pattern (using the cert secrets that have been created in prod).
IMPORTANT:
When applying the new certificate in production, a new route object was created in the cluster, in place. If we release CIF without the work to be addressed in this card, the manually created route will be replaced with what is now the old paradigm, resulting in prod being inaccessible until it is fixed.
Acceptance Criteria
[x] existing route template has a conditional added so that it is only run in dev and test
[x] a new route template exists that is specific for prod and uses the cert out of the newly created secrets
Describe the task
The route template in our chart was made to be used with Certbot. Now that we aren't using Certbot to manage our cert in the production environment, we need two separate routes: one for dev and test environments using the old pattern, and one for production following the new pattern (using the cert secrets that have been created in prod).
IMPORTANT: When applying the new certificate in production, a new route object was created in the cluster, in place. If we release CIF without the work to be addressed in this card, the manually created route will be replaced with what is now the old paradigm, resulting in
prod
being inaccessible until it is fixed.Acceptance Criteria
dev
andtest