diff options
author | Brian Freeman <bf1936@att.com> | 2019-05-16 14:58:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-05-16 14:58:05 +0000 |
commit | 157966816809753684acf13542b690834039bd4d (patch) | |
tree | a472fe624a0b523670ac873360157e26747efe2c /kubernetes/policy/charts/mariadb | |
parent | 8ae5acc7191b6394e208034dbf81ad6ca269030b (diff) | |
parent | 59ce22ddfd867629eed557a32e9e8b880a4725a9 (diff) |
Merge "Disable external ports and update versions"
Diffstat (limited to 'kubernetes/policy/charts/mariadb')
-rw-r--r-- | kubernetes/policy/charts/mariadb/templates/service.yaml | 6 | ||||
-rw-r--r-- | kubernetes/policy/charts/mariadb/values.yaml | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/kubernetes/policy/charts/mariadb/templates/service.yaml b/kubernetes/policy/charts/mariadb/templates/service.yaml index 7660ef7580..9d5d13ab04 100644 --- a/kubernetes/policy/charts/mariadb/templates/service.yaml +++ b/kubernetes/policy/charts/mariadb/templates/service.yaml @@ -1,5 +1,5 @@ # Copyright © 2017 Amdocs, Bell Canada -# Modifications Copyright © 2018 AT&T +# Modifications Copyright © 2018-2019 AT&T # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -25,9 +25,9 @@ metadata: heritage: {{ .Release.Service }} spec: ports: - - port: {{ .Values.service.internalPort }} + - port: {{ .Values.service.externalPort }} + targetPort: {{ .Values.service.internalPort }} name: {{ .Values.service.portName }} selector: app: {{ include "common.name" . }} release: {{ .Release.Name }} - clusterIP: None diff --git a/kubernetes/policy/charts/mariadb/values.yaml b/kubernetes/policy/charts/mariadb/values.yaml index 90f5be4e1b..fcd7093607 100644 --- a/kubernetes/policy/charts/mariadb/values.yaml +++ b/kubernetes/policy/charts/mariadb/values.yaml @@ -1,5 +1,5 @@ # Copyright © 2017 Amdocs, Bell Canada -# Modifications Copyright © 2018 AT&T +# Modifications Copyright © 2018-2019 AT&T # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -69,6 +69,7 @@ service: type: ClusterIP name: policydb portName: policydb + externalPort: 3306 internalPort: 3306 ingress: @@ -92,4 +93,4 @@ resources: requests: cpu: 20m memory: 1Gi - unlimited: {}
\ No newline at end of file + unlimited: {} |