From d911bb0b6a76af6b97cf8a216a45a3be708c024e Mon Sep 17 00:00:00 2001 From: Lennart Ackermans Date: Tue, 23 Apr 2024 20:15:12 +0200 Subject: [PATCH] Update chart --- helm/chart/Chart.yaml | 2 +- helm/chart/templates/clusterroles.yaml | 8 ++++++++ helm/chart/templates/netpol.yaml | 6 ++++++ helm/chart/values.yaml | 2 +- 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/helm/chart/Chart.yaml b/helm/chart/Chart.yaml index 1bf64b4..703af38 100644 --- a/helm/chart/Chart.yaml +++ b/helm/chart/Chart.yaml @@ -4,5 +4,5 @@ sources: - https://github.com/delta10/fqdnnetworkpolicies/tree/main/charts description: Stable FQDNNetworkPolicies let you create Kubernetes Network Policies based on Fully Qualified Domain Names (FQDNs) type: application -version: 0.0.10 +version: 0.0.11 appVersion: "0.4.0" diff --git a/helm/chart/templates/clusterroles.yaml b/helm/chart/templates/clusterroles.yaml index 3e12d63..b0e00fc 100644 --- a/helm/chart/templates/clusterroles.yaml +++ b/helm/chart/templates/clusterroles.yaml @@ -5,6 +5,14 @@ metadata: creationTimestamp: null name: fqdnnetworkpolicies-manager-role rules: +- apiGroups: + - "" + resources: + - endpoints + verbs: + - get + - list + - watch - apiGroups: - networking.delta10.nl resources: diff --git a/helm/chart/templates/netpol.yaml b/helm/chart/templates/netpol.yaml index eb2245e..cb400b3 100644 --- a/helm/chart/templates/netpol.yaml +++ b/helm/chart/templates/netpol.yaml @@ -7,6 +7,12 @@ spec: matchLabels: app.kubernetes.io/instance: {{ .Release.Name }} egress: + - ports: + - port: 443 + protocl: TCP + to: + - ipBlock: + cidr: 0.0.0.0/0 - ports: - port: 53 protocol: UDP diff --git a/helm/chart/values.yaml b/helm/chart/values.yaml index f5848d6..10dea1f 100644 --- a/helm/chart/values.yaml +++ b/helm/chart/values.yaml @@ -11,7 +11,7 @@ containerSecurityContext: image: repository: "ghcr.io/delta10/fqdnnetworkpolicies/controller" - tag: "0.4" + tag: "0.4.0" manager: extraArgs: