File tree Expand file tree Collapse file tree 3 files changed +26
-4
lines changed Expand file tree Collapse file tree 3 files changed +26
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ patroni:
11
11
cpu : 250m
12
12
memory : 384Mi
13
13
requests :
14
- cpu : 50m
14
+ cpu : 20m
15
15
memory : 192Mi
16
16
persistentVolume :
17
17
enabled : false
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: common-object-management-service
3
3
# This is the chart version. This version number should be incremented each time you make changes
4
4
# to the chart and its templates, including the app version.
5
5
# Versions are expected to follow Semantic Versioning (https://semver.org/)
6
- version : 0.0.7
6
+ version : 0.0.8
7
7
kubeVersion : " >= 1.13.0"
8
8
description : A microservice for managing access control to S3 Objects
9
9
# A chart can be either an 'application' or a 'library' chart.
@@ -28,7 +28,7 @@ sources:
28
28
- https://github.com/bcgov/common-object-management-service
29
29
dependencies :
30
30
- name : patroni
31
- version : ~0.0.3
31
+ version : ~0.0.4
32
32
repository : https://bcgov.github.io/nr-patroni-chart
33
33
condition : patroni.enabled
34
34
tags :
Original file line number Diff line number Diff line change 1
- {{- if and .Values.networkPolicy.enabled .Values.patroni.enabled }}
1
+ {{- if .Values.networkPolicy.enabled }}
2
+ ---
3
+ apiVersion : networking.k8s.io/v1
4
+ kind : NetworkPolicy
5
+ metadata :
6
+ name : allow-openshift-ingress-to-{{ include "coms.fullname" . }}-app
7
+ labels :
8
+ {{- include "coms.labels" . | nindent 4 }}
9
+ spec :
10
+ ingress :
11
+ - from :
12
+ - namespaceSelector :
13
+ matchLabels :
14
+ network.openshift.io/policy-group : ingress
15
+ - podSelector :
16
+ matchLabels : {{ include "coms.selectorLabels" . | nindent 14 }}
17
+ ports :
18
+ - port : {{ default "8080" .Values.config.configMap.SERVER_PORT | atoi }}
19
+ protocol : TCP
20
+ podSelector :
21
+ matchLabels : {{- include "coms.selectorLabels" . | nindent 6 }}
22
+ {{- if .Values.patroni.enabled }}
2
23
---
3
24
apiVersion : networking.k8s.io/v1
4
25
kind : NetworkPolicy
33
54
podSelector :
34
55
matchLabels : {{ include "patroni.selectorLabels" .Subcharts.patroni | nindent 6 }}
35
56
{{- end }}
57
+ {{- end }}
You can’t perform that action at this time.
0 commit comments