Skip to content

Commit

Permalink
Merge pull request #19 from ministryofjustice/new-ingressv1
Browse files Browse the repository at this point in the history
Switch kuberos to new ingress controller
  • Loading branch information
vijay-veeranki authored Jun 14, 2022
2 parents 36fb0ad + 4a8340d commit 26e3424
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ resource "helm_release" "kuberos" {
chart = "kuberos"
repository = "https://ministryofjustice.github.io/cloud-platform-helm-charts"
recreate_pods = true
version = "0.3.6"
version = "0.3.7"

values = [templatefile("${path.module}/templates/kuberos.yaml.tpl", {
hostname = terraform.workspace == local.live_workspace ? format("%s.%s", "login", local.live_domain) : format(
Expand Down
3 changes: 2 additions & 1 deletion templates/kuberos.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
# Declare variables to be passed into your templates.

replicaCount: "${replicaCount}"

className: default
ingress:
annotations:
external-dns.alpha.kubernetes.io/aws-weight: "100"
external-dns.alpha.kubernetes.io/set-identifier: "dns-${clusterName}"
cloud-platform.justice.gov.uk/ignore-external-dns-weight: "true"

host: "${hostname}"
tls:
- hosts:
Expand Down

0 comments on commit 26e3424

Please sign in to comment.