Skip to content

Commit 567e3a8

Browse files
authored
Revert "Kubernetes: add deny all global network policy (#1164)"
This reverts commit af61d4a.
1 parent af61d4a commit 567e3a8

File tree

17 files changed

+72
-308
lines changed

17 files changed

+72
-308
lines changed

charts/.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@ values.yaml
22
values.*.yaml
33
k8s_hosts.ini
44
helmfile.y?ml
5-
6-
*.tgz

charts/adminer/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ spec:
1313
{{- include "adminer.selectorLabels" . | nindent 6 }}
1414
template:
1515
metadata:
16-
{{- if .Values.podAnnotations }}
16+
{{- with .Values.podAnnotations }}
1717
annotations:
18-
{{- tpl (toYaml .Values.podAnnotations) . | nindent 8 }}
18+
{{- toYaml . | nindent 8 }}
1919
{{- end }}
2020
labels:
2121
{{- include "adminer.labels" . | nindent 8 }}

charts/adminer/templates/networkpolicy.yaml

Lines changed: 0 additions & 26 deletions
This file was deleted.

charts/adminer/values.yaml.gotmpl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ serviceAccount:
2525
# If not set and create is true, a name is generated using the fullname template
2626
name: ""
2727

28-
podAnnotations:
29-
# automatically restart pod on network policy change (to be sure new rules are applied)
30-
checksum/networkpolicy: '{{`{{ include (print $.Template.BasePath "/networkpolicy.yaml") . | sha256sum }}`}}'
28+
podAnnotations: {}
3129
podLabels: {}
3230

3331
podSecurityContext:

charts/calico-configuration/.helmignore

Lines changed: 0 additions & 23 deletions
This file was deleted.

charts/calico-configuration/Chart.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.

charts/calico-configuration/README.md

Lines changed: 0 additions & 49 deletions
This file was deleted.

charts/calico-configuration/templates/NOTES.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

charts/calico-configuration/templates/globalpolicy.yaml

Lines changed: 0 additions & 30 deletions
This file was deleted.

charts/portainer/Chart.lock

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)