diff options
author | Dominic Lunanuova <dgl@research.att.com> | 2018-04-12 14:40:34 +0000 |
---|---|---|
committer | Mandeep Khinda <mandeep.khinda@amdocs.com> | 2018-04-30 14:14:58 +0000 |
commit | e825feeadf1aae047371ebc5c6113be1f7ec464e (patch) | |
tree | aa9a26e353587498c15307b374cb6c699caa0053 /kubernetes/dmaap/charts/postgresql/templates/networkpolicy.yaml | |
parent | 615f9490a7d99ab1345f72645f1816a70e2753ea (diff) |
Integration w common/postgres
Patchset 1: first cut at integration with common/postgres
Patchset 2: Mandeep Khinda - refactored charts to standardize
Wired in shared postgres chart
Patchset 6: Introduced simple dmaap/Makefile to force
helm dep up in the deeper charts directory.
Includes slight modification to parent make clean target
Patchset 8: merge conflict again
Change-Id: If59f08638bac8761ae5452b60f172c99fcf4ec86
Signed-off-by: Dominic Lunanuova <dgl@research.att.com>
Issue-ID: DMAAP-117
Signed-off-by: Dominic Lunanuova <dgl@research.att.com>
Diffstat (limited to 'kubernetes/dmaap/charts/postgresql/templates/networkpolicy.yaml')
-rw-r--r-- | kubernetes/dmaap/charts/postgresql/templates/networkpolicy.yaml | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/kubernetes/dmaap/charts/postgresql/templates/networkpolicy.yaml b/kubernetes/dmaap/charts/postgresql/templates/networkpolicy.yaml deleted file mode 100644 index 92f3b71b15..0000000000 --- a/kubernetes/dmaap/charts/postgresql/templates/networkpolicy.yaml +++ /dev/null @@ -1,28 +0,0 @@ -{{- if .Values.networkPolicy.enabled }} -kind: NetworkPolicy -apiVersion: {{ template "postgresql.networkPolicy.apiVersion" . }} -metadata: - name: "{{ template "postgresql.fullname" . }}" - labels: - app: {{ template "postgresql.fullname" . }} - chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" - release: "{{ .Release.Name }}" - heritage: "{{ .Release.Service }}" -spec: - podSelector: - matchLabels: - app: "{{ template "postgresql.fullname" . }}" - ingress: - # Allow inbound connections - - ports: - - port: 5432 - {{- if not .Values.networkPolicy.allowExternal }} - from: - - podSelector: - matchLabels: - {{ template "postgresql.fullname" . }}-client: "true" - {{- end }} - # Allow prometheus scrapes - - ports: - - port: 9187 -{{- end }} |