Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

Commit 1d549d5

Browse files
committed
trino
1 parent 7c06e3f commit 1d549d5

File tree

4 files changed

+34
-2
lines changed

4 files changed

+34
-2
lines changed

charts/trino/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type: application
1919
# to the chart and its templates, including the app version.
2020
# Versions are expected to follow Semantic Versioning (https://semver.org/)
2121

22-
version: 3.0.3
22+
version: 3.1.0
2323

2424

2525
# This is the version number of the application being deployed. This version number should be
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{{- if .Values.security.networkPolicy.enabled -}}
2+
{{- if .Values.ingress.enabled -}}
3+
kind: NetworkPolicy
4+
apiVersion: networking.k8s.io/v1
5+
metadata:
6+
name: {{ include "library-chart.fullname" . }}-2
7+
spec:
8+
podSelector:
9+
matchLabels:
10+
{{- include "library-chart.selectorLabels" . | nindent 6 }}
11+
ingress:
12+
- from:
13+
{{- toYaml .Values.security.networkPolicy.from | nindent 4 }}
14+
policyTypes:
15+
- Ingress
16+
{{- end }}
17+
{{- end }}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{{- if .Values.security.networkPolicy.enabled -}}
2+
kind: NetworkPolicy
3+
apiVersion: networking.k8s.io/v1
4+
metadata:
5+
name: {{ include "library-chart.fullname" . }}
6+
spec:
7+
podSelector:
8+
matchLabels:
9+
{{- include "library-chart.selectorLabels" . | nindent 6 }}
10+
ingress:
11+
- from:
12+
- podSelector: {}
13+
policyTypes:
14+
- Ingress
15+
{{- end }}

charts/trino/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ security:
1313
username: "admin"
1414
password: "changeme"
1515
networkPolicy:
16-
enable: false
16+
enabled: false
1717
from:
1818
- ipBlock:
1919
cidr: 10.233.103.0/32

0 commit comments

Comments
 (0)