diff options
author | Arul.Nambi <arul.nambi@amdocs.com> | 2018-06-20 11:40:17 -0400 |
---|---|---|
committer | Borislav Glozman <Borislav.Glozman@amdocs.com> | 2018-06-26 09:15:38 +0000 |
commit | 0d3437401e5fdebee16ac7e29ddbce4f9764373a (patch) | |
tree | 9068bb08c5dabc157a07d8fc266387d481da9542 /charts/aai-sparky-be | |
parent | ef10698d3e1099985a73f73d0485164c58dc0917 (diff) |
Exposing the node port for sparky-be
Removed the cluster ip and set the node port to 20. Also disabiling ssl
as portal does not support ssl yet.
Issue-ID: OOM-347
Change-Id: Ia0431bb4b72e709df7e867ccae01b0b8219088d9
Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
Diffstat (limited to 'charts/aai-sparky-be')
-rw-r--r-- | charts/aai-sparky-be/templates/deployment.yaml | 6 | ||||
-rw-r--r-- | charts/aai-sparky-be/templates/service.yaml | 3 | ||||
-rw-r--r-- | charts/aai-sparky-be/values.yaml | 3 |
3 files changed, 6 insertions, 6 deletions
diff --git a/charts/aai-sparky-be/templates/deployment.yaml b/charts/aai-sparky-be/templates/deployment.yaml index c1b2c3c..b459646 100644 --- a/charts/aai-sparky-be/templates/deployment.yaml +++ b/charts/aai-sparky-be/templates/deployment.yaml @@ -46,7 +46,7 @@ spec: - name: KEYSTORE_PASSWORD value: {{ .Values.config.keyStorePassword }} - name: SPARKY_SSL_ENABLED - value: 'true' + value: 'false' - name: SPARKY_PORTAL_ENABLED value: 'false' volumeMounts: @@ -83,13 +83,13 @@ spec: {{- if eq .Values.liveness.enabled true }} livenessProbe: tcpSocket: - port: {{ .Values.service.internalPort2 }} + port: {{ .Values.service.internalPort }} initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} periodSeconds: {{ .Values.liveness.periodSeconds }} {{ end -}} readinessProbe: tcpSocket: - port: {{ .Values.service.internalPort2 }} + port: {{ .Values.service.internalPort }} initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }} periodSeconds: {{ .Values.readiness.periodSeconds }} resources: diff --git a/charts/aai-sparky-be/templates/service.yaml b/charts/aai-sparky-be/templates/service.yaml index e342a9a..385cdea 100644 --- a/charts/aai-sparky-be/templates/service.yaml +++ b/charts/aai-sparky-be/templates/service.yaml @@ -21,5 +21,4 @@ spec: {{- end}} selector: app: {{ include "common.name" . }} - release: {{ .Release.Name }} - clusterIP: None + release: {{ .Release.Name }}
\ No newline at end of file diff --git a/charts/aai-sparky-be/values.yaml b/charts/aai-sparky-be/values.yaml index c87ec5b..8321feb 100644 --- a/charts/aai-sparky-be/values.yaml +++ b/charts/aai-sparky-be/values.yaml @@ -61,9 +61,10 @@ readiness: periodSeconds: 10 service: - type: ClusterIP + type: NodePort portName: aai-sparky-be internalPort: 9517 + nodePort: 20 internalPort2: 8000 ingress: |