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 bcd529f added step-ca
bcd529f is described below
commit bcd529fe58cc47fa781269e168a7cb25adc9a5cb
Author: Oleh Martushevskyi <[email protected]>
AuthorDate: Thu Nov 21 21:28:58 2019 +0200
added step-ca
---
.../main/modules/helm_charts/step-ca-chart/templates/ca.yaml | 1 +
.../terraform/gcp/ssn-gke/main/modules/helm_charts/step-ca.tf | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git
a/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/step-ca-chart/templates/ca.yaml
b/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/step-ca-chart/templates/ca.yaml
index 7c5929c..1113f2b 100644
---
a/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/step-ca-chart/templates/ca.yaml
+++
b/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/step-ca-chart/templates/ca.yaml
@@ -18,6 +18,7 @@ spec:
labels:
app.kubernetes.io/name: {{ include "step-certificates.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
+ app: {{ include "step-certificates.fullname" . }}
spec:
{{- if .Release.IsInstall }}
initContainers:
diff --git
a/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/step-ca.tf
b/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/step-ca.tf
index e978985..b0a7e7e 100644
---
a/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/step-ca.tf
+++
b/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/step-ca.tf
@@ -37,12 +37,12 @@ resource "kubernetes_service" "step_service_lb" {
}
spec {
selector = {
- "app.kubernetes.io/name" = local.step_ca_name
+ "app" = local.step_ca_name
}
session_affinity = "ClientIP"
port {
- port = 9000
- target_port = 443
+ port = 443
+ target_port = 9000
}
type = "LoadBalancer"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]