This is an automated email from the ASF dual-hosted git repository.

omartushevskyi pushed a commit to branch DLAB-1158
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-1158 by this push:
     new 250a4b9  added step-ca
250a4b9 is described below

commit 250a4b9cd7d21ebdf8803f3af29b902daa1ffe54
Author: Oleh Martushevskyi <[email protected]>
AuthorDate: Wed Nov 27 11:04:43 2019 +0200

    added step-ca
---
 .../gcp/ssn-gke/main/modules/helm_charts/step-ca-chart/values.yaml  | 6 ++++--
 .../terraform/gcp/ssn-gke/main/modules/helm_charts/step-issuer.tf   | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git 
a/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/step-ca-chart/values.yaml
 
b/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/step-ca-chart/values.yaml
index 45350b6..f06f13b 100644
--- 
a/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/step-ca-chart/values.yaml
+++ 
b/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/step-ca-chart/values.yaml
@@ -35,11 +35,13 @@ ca:
   address: :9000
   # dns is the comma separated dns names to use. Leave it empty to use the 
format:
   # {include "step-certificates.fullname" .}.{ 
.Release.Namespace}.svc.cluster.local,127.0.0.1
-  dns: ${step_chart_name}.${namespace}.svc.cluster.local,${step_ca_host}
+  dns: step-certs
+  # ${step_chart_name}.${namespace}.svc.cluster.local,${step_ca_host}
   # ${step_ca_host}
   # url is the http url where step-certificates will listen at. Leave it empty 
to use the format
   # https://{{ include "step-certificates.fullname" . }}.{{ .Release.Namespace 
}}.svc.cluster.local
-  url: https://${step_chart_name}.${namespace}.svc.cluster.local
+  url: https://step-certs
+  #${step_chart_name}.${namespace}.svc.cluster.local
   #${step_ca_host}
   # password is the password used to encrypt the keys. Leave it empty to 
generate a random one.
   password: ${step_ca_password}
diff --git 
a/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/step-issuer.tf
 
b/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/step-issuer.tf
index 2cbb247..8e8095a 100644
--- 
a/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/step-issuer.tf
+++ 
b/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/step-issuer.tf
@@ -46,7 +46,7 @@ resource "null_resource" "step_issuer_delay" {
 data "template_file" "step_ca_issuer_values" {
   template = file("./modules/helm_charts/step-ca-issuer-chart/values.yaml")
   vars     = {
-    step_ca_url      = 
"https://${kubernetes_service.step_service_lb.load_balancer_ingress.0.ip}";
+    step_ca_url      = "https://step-certs"; # 
"https://${kubernetes_service.step_service_lb.load_balancer_ingress.0.ip}";
     step_ca_bundle   = lookup(data.external.step-ca-config-values.result, 
"rootCa")
     namespace        = kubernetes_namespace.dlab-namespace.metadata[0].name
     step_ca_kid_name = lookup(data.external.step-ca-config-values.result, 
"kidName")


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to