Files
jklein 28a0230ef0
Validate Helm Charts / Detect changed charts (pull_request) Successful in 3s
Validate Helm Charts / Resource quantities (pull_request) Successful in 23s
Validate Helm Charts / Bump level (pull_request) Successful in 4s
Validate Helm Charts / Selector match (pull_request) Successful in 12s
Validate Helm Charts / HTTPRoute match (pull_request) Successful in 10s
Validate Helm Charts / YAML scalars (pull_request) Successful in 9s
Validate Helm Charts / NetworkPolicy (pull_request) Failing after 10s
Validate Helm Charts / Trivy config apache-tika (pull_request) Successful in 23s
Validate Helm Charts / Build apache-tika (pull_request) Successful in 14s
Validate Helm Charts / Build bentopdf (pull_request) Successful in 6s
Validate Helm Charts / Build bulwark (pull_request) Successful in 6s
Validate Helm Charts / Build calibre-web-automated (pull_request) Successful in 5s
Validate Helm Charts / Build cyberchef (pull_request) Successful in 5s
Validate Helm Charts / Build homeassistant (pull_request) Successful in 10s
Validate Helm Charts / Build garage (pull_request) Successful in 6s
Validate Helm Charts / Build gotenberg (pull_request) Successful in 11s
Validate Helm Charts / Build keycloak (pull_request) Successful in 5s
Validate Helm Charts / Build minecraft-router (pull_request) Successful in 8s
Validate Helm Charts / Build patchmon (pull_request) Successful in 8s
Validate Helm Charts / Build rallly (pull_request) Successful in 5s
Validate Helm Charts / Build satisfactory (pull_request) Successful in 5s
Validate Helm Charts / Build minecraft-server (pull_request) Successful in 7s
Validate Helm Charts / Build outline (pull_request) Successful in 5s
Validate Helm Charts / Build rss-bridge (pull_request) Successful in 5s
Validate Helm Charts / Build samba (pull_request) Successful in 5s
Validate Helm Charts / Build searxng (pull_request) Successful in 5s
Validate Helm Charts / Build sure (pull_request) Successful in 11s
Validate Helm Charts / Build teamspeak-server (pull_request) Successful in 18s
Validate Helm Charts / Build template-chart (pull_request) Successful in 12s
Validate Helm Charts / Build urlaubsverwaltung (pull_request) Successful in 4s
Validate Helm Charts / Build ytdlp-web-player (pull_request) Successful in 5s
Validate Helm Charts / Build voucher-vault (pull_request) Successful in 5s
Validate Helm Charts / Build zipline (pull_request) Successful in 4s
Validate Helm Charts / Trivy config bentopdf (pull_request) Successful in 13s
Validate Helm Charts / Trivy config bulwark (pull_request) Successful in 15s
Validate Helm Charts / Trivy config keycloak (pull_request) Successful in 12s
Validate Helm Charts / Trivy config minecraft-router (pull_request) Successful in 17s
Validate Helm Charts / Trivy config calibre-web-automated (pull_request) Successful in 11s
Validate Helm Charts / Trivy config cyberchef (pull_request) Successful in 13s
Validate Helm Charts / Trivy config garage (pull_request) Successful in 20s
Validate Helm Charts / Trivy config gotenberg (pull_request) Successful in 14s
Validate Helm Charts / Trivy config homeassistant (pull_request) Successful in 11s
Validate Helm Charts / Trivy config outline (pull_request) Successful in 14s
Validate Helm Charts / Trivy config rallly (pull_request) Successful in 15s
Validate Helm Charts / Trivy config minecraft-server (pull_request) Successful in 27s
Validate Helm Charts / Trivy config patchmon (pull_request) Successful in 12s
Validate Helm Charts / Trivy config rss-bridge (pull_request) Successful in 13s
Validate Helm Charts / Trivy config teamspeak-server (pull_request) Successful in 11s
Validate Helm Charts / Trivy config samba (pull_request) Successful in 16s
Validate Helm Charts / Trivy config satisfactory (pull_request) Successful in 22s
Validate Helm Charts / Trivy config searxng (pull_request) Successful in 22s
Validate Helm Charts / Trivy config sure (pull_request) Successful in 17s
Validate Helm Charts / Trivy config template-chart (pull_request) Successful in 14s
Validate Helm Charts / Trivy config urlaubsverwaltung (pull_request) Successful in 11s
Validate Helm Charts / Trivy config voucher-vault (pull_request) Successful in 12s
Validate Helm Charts / Trivy config ytdlp-web-player (pull_request) Successful in 17s
Validate Helm Charts / Trivy config zipline (pull_request) Successful in 18s
Install-test / Install-test bulwark (pull_request) Successful in 1m18s
Install-test / Install-test homeassistant (pull_request) Successful in 2m3s
Install-test / Install-test outline (pull_request) Successful in 2m9s
Install-test / Install-test rss-bridge (pull_request) Successful in 51s
Install-test / Install-test samba (pull_request) Successful in 1m14s
Install-test / Install-test apache-tika (pull_request) Successful in 1m7s
Install-test / Install-test bentopdf (pull_request) Successful in 1m5s
Install-test / Install-test calibre-web-automated (pull_request) Successful in 1m47s
Install-test / Install-test cyberchef (pull_request) Successful in 49s
Install-test / Install-test garage (pull_request) Successful in 1m10s
Install-test / Install-test gotenberg (pull_request) Successful in 1m35s
Install-test / Install-test keycloak (pull_request) Successful in 2m23s
Install-test / Install-test minecraft-router (pull_request) Successful in 37s
Install-test / Install-test minecraft-server (pull_request) Successful in 1m34s
Install-test / Install-test patchmon (pull_request) Successful in 1m17s
Install-test / Install-test rallly (pull_request) Successful in 1m30s
Install-test / Install-test searxng (pull_request) Successful in 1m9s
Install-test / Install-test sure (pull_request) Successful in 2m10s
Install-test / Install-test voucher-vault (pull_request) Successful in 1m48s
Install-test / Install-test ytdlp-web-player (pull_request) Successful in 59s
Install-test / Install-test zipline (pull_request) Successful in 1m59s
Validate Helm Charts / Install-test (pull_request) Successful in 33m44s
Install-test / Install-test teamspeak-server (pull_request) Successful in 1m15s
Install-test / Install-test urlaubsverwaltung (pull_request) Successful in 1m51s
feat!: NetworkPolicy in the NodePort and game-server charts, on by default
garage, minecraft-router, minecraft-server, samba, teamspeak-server,
satisfactory. One major each. These are the charts the plan said to leave for
last, and they earned it - three of them changed the convention rather than
just consuming it.

GARAGE is the clearest illustration after keycloak. Its four ports split three
ways: s3 and web are RESTRICTED by source (no probe touches them), admin is the
probe path and stays open inside the cluster - which is uncomfortable, because
admin is also the admin API, and that is said out loud instead of glossed - and
rpc gets the narrowest rule the object can express, a podSelector with no
namespaceSelector. All four numbers come from garage.settings.

MINECRAFT-SERVER is the tightest policy in the repository, and the reason is
worth knowing: all three of its probes are EXEC probes, which put no packet on
the network, so no port has to stay open for the kubelet and no probeSources
value is needed at all. RCON and metrics are restricted outright. The game port
has two branches rendered from the same value the Service reads -
server.service.type NodePort means players arrive from the internet and the
rule must be open; anything else means the only path is in-cluster, so the rule
is restricted and the router's namespace has to be in allowedNamespaces.

MINECRAFT-ROUTER derives its egress from the routing table instead of guessing:
server.backendPort plus the "port" override of every mapping that sets one. Add
a backend on a non-standard port and the policy follows. What it cannot express
is the destination - mappings name hosts, and this object matches no hostname -
so the rule is wider than the routing table, and that is written down.

SATISFACTORY gets policyTypes: [Ingress] and no egress section, and the second
half of the reason is the deciding one. Steam's content delivery is not a
pinnable port set (SteamCMD over TCP 80/443/27015-27050, master servers over
UDP 27000-27100 and 4380, changed by Valve, re-downloaded on every update) -
and this is the ONE chart with no install-test at all, because the image is
multiple GB and the first start pulls over 10GB. An egress cap here would be
the only one in the sweep with no empirical check behind it, on the chart whose
correct port set is least knowable.

SAMBA and TEAMSPEAK-SERVER carry the NodePort lesson explicitly: the rules name
445/139 and the pod's voice and file-transfer ports, never the NodePorts, and
teamspeak's file is explicit that its pod port and NodePort happening to share a
number is a coincidence of its values rather than a pattern to copy. Teamspeak's
voice rule is UDP, and the file says why that matters: a TCP rule on the same
number is accepted, looks complete, and drops every voice packet.

THREE THINGS THE CHECKS CAUGHT WHILE THIS BATCH WAS WRITTEN, all of them real:

  - minecraft-server's RCON rule named a port the pod does not declare. The
    containerPort is gated on server.rcon.enabled and the rule was not, so
    assertion 2 rejected it. The rule now carries the same gate.
  - samba and satisfactory would have shipped allowedNamespaces and
    probeSources values that reach NO rule - every one of their inbound rules
    is open to any source. A value that silently does nothing is worse than one
    that is absent, because it reads as a control, so both are gone from those
    two charts and from their schemas, with the reason in values.yaml.
    teamspeak-server loses probeSources for the same reason and keeps
    allowedNamespaces, which its web-query rule uses.
  - the policy templates no longer declare template variables they do not use.
    samba keeps one, satisfactory none.

Part of #5
2026-10-14 14:37:51 +00:00

304 lines
16 KiB
Plaintext

{{- $replicas := include "samba.replicas" (dict "scaleDown" .Values.scaleDown "replicas" .Values.samba.replicas) -}}
{{- $res := fromYaml (include "samba.effectiveResources" .Values.samba.resources) -}}
{{- $eph := index ($res.limits | default dict) "ephemeral-storage" | default "the computed ephemeral-storage limit" -}}
{{- $startup := fromYaml (include "samba.startupProbe" .Values.samba.startupProbe) -}}
{{- $budget := "" -}}
{{- if and (kindIs "float64" $startup.periodSeconds) (kindIs "float64" $startup.failureThreshold) -}}
{{- $budget = printf "%.0f seconds" (mulf $startup.periodSeconds $startup.failureThreshold) -}}
{{- end -}}
{{- $svc := printf "%s-%s-service" .Release.Name .Chart.Name -}}
{{- $sfs := printf "%s-%s-sfs" .Release.Name .Chart.Name -}}
{{- $shares := .Values.samba.shares | default list -}}
{{- $named := list -}}
{{- $unrestricted := list -}}
{{- range $s := $shares }}
{{- if not (empty $s.name) }}{{- $named = append $named $s.name }}{{- end }}
{{- if and (not (empty $s.name)) (empty $s.validUsers) }}{{- $unrestricted = append $unrestricted $s.name }}{{- end }}
{{- end }}
{{- $share := "SHARE" -}}
{{- if $named }}{{- $share = first $named }}{{- end -}}
{{- $smbPort := .Values.samba.smbNodePort -}}
Samba {{ .Chart.AppVersion }} — release {{ .Release.Name }} in namespace {{ .Release.Namespace }}.
ACCESS — A NODEPORT, NOT AN INGRESS
SMB is not HTTP, so this chart renders no Ingress and no certificate; the
Service {{ $svc }} is of type NodePort and the ports are open
on EVERY node of the cluster, reachable by anyone who can reach a node.
{{ if $smbPort }}
SMB node IP : {{ $smbPort }} (container port 445)
NetBIOS node IP : {{ .Values.samba.netbiosNodePort | default "assigned by the API server" }} (container port 139)
kubectl get nodes -o wide # the IPs to connect to
{{- else }}
samba.smbNodePort is null, so the API server assigns a free port out of
the cluster's node-port range instead. The same holds for
samba.netbiosNodePort. Read back what you actually got:
kubectl -n {{ .Release.Namespace }} get svc {{ $svc }}
{{- end }}
A node port is NOT 445. That distinction decides which clients can reach
this server at all, because SMB clients differ in whether they let you name
a port:
macOS Finder Cmd-K, then smb://NODE-IP{{ if $smbPort }}:{{ $smbPort }}{{ else }}:NODEPORT{{ end }}/{{ $share }}
Linux mount -t cifs //NODE-IP/{{ $share }} /mnt \
-o port={{ if $smbPort }}{{ $smbPort }}{{ else }}NODEPORT{{ end }},vers=3.1.1,username=USER
smbclient smbclient //NODE-IP/{{ $share }} -p {{ if $smbPort }}{{ $smbPort }}{{ else }}NODEPORT{{ end }} -U USER
Windows Explorer is the exception: a UNC path \\host\share carries no port
and its SMB client always dials 445, so it cannot open a node port. Either
put a port forward in front of it on the client side, or publish 445 itself
through a LoadBalancer Service you manage outside this chart.
Inside the cluster none of that applies — the Service port is the normal
445, so a pod in this cluster addresses the server as
//{{ $svc }}.{{ .Release.Namespace }}.svc.cluster.local/{{ $share }}
Nothing UDP is published: NetBIOS name service (137/udp) and datagrams
(138/udp) are not in the Service, so this server never shows up by itself
in a client's network browser. Address it by node IP or a DNS name you
point at the nodes yourself.
THE SERVER REFUSES OLD AND UNENCRYPTED CLIENTS
smb.conf is fixed by the chart, and it is strict on purpose:
server min protocol = SMB3 SMB1 and SMB2 are rejected at negotiation
server smb encrypt = required an unencrypted session is refused
server signing = mandatory
security = user there is no guest access, ever
Current Windows, macOS and Linux clients satisfy all of it. What does not
is the long tail — smart TVs, media players, scanners, NAS-to-NAS sync and
old cifs kernels. Those fail at connect with a bare protocol or access
error and no hint that the cause is on the server side. None of the four
settings is exposed as a value; loosening them means editing
templates/samba-config.configmap.yaml.
{{- if $named }}
SHARES — {{ len $named }} CONFIGURED, ONE PVC EACH
{{- range $s := $shares }}
{{- if not (empty $s.name) }}
{{ $s.name }}{{ if $s.size }} ({{ $s.size }}){{ end }}
in the pod /shares/{{ $s.name }}
claim {{ $.Release.Name }}-{{ $s.name }}-volume-claim{{ if $.Values.samba.storageClass }}, storageClass {{ $.Values.samba.storageClass }}{{ end }}
valid users {{ $s.validUsers | default "(empty — see below)" }}
{{- end }}
{{- end }}
Note the claim names: they are {{ .Release.Name }}-<share>-volume-claim, without the
chart name. That is a historical name this chart keeps deliberately —
renaming it would orphan the data.
{{- if $unrestricted }}
{{ len $unrestricted }} SHARE{{ if gt (len $unrestricted) 1 }}S ARE{{ else }} IS{{ end }} OPEN TO EVERY USER IN users.conf: {{ join ", " $unrestricted }}
A share without samba.shares[].validUsers renders "valid users =" with an
empty list, and in Samba an empty valid-users list does not mean "nobody"
— it means the restriction does not apply and every authenticated user
gets in. Combined with "writable = yes", which this chart sets on every
share, that is full read/write for everyone in users.conf. Name the users
explicitly if that is not what you want.
{{- end }}
{{- else }}
NO SHARES ARE CONFIGURED — THE SERVER EXPORTS NOTHING
samba.shares is empty, so smb.conf carries the [global] section and not a
single share, no PVC was created and the pod mounts no data volume. smbd
starts, the probes go green and a client can authenticate — and then sees
an empty list. Each entry in samba.shares needs at least a name and a size;
storage comes from samba.storageClass{{ if .Values.samba.storageClass }} ("{{ .Values.samba.storageClass }}"){{ end }}, which applies to all
shares alike.
{{- end }}
{{ if eq $replicas "0" }}
SCALED TO ZERO
{{ if .Values.scaleDown }}scaleDown: true{{ else }}samba.replicas: 0{{ end }} — the StatefulSet runs with replicas: 0, so nothing
answers on the ports above until you set it back and upgrade again. The
share PVCs, the users Secret and the Service stay in place, so no data is
lost and the node ports are still reserved.
{{ end }}
{{- if gt (atoi $replicas) 1 }}
MORE THAN ONE REPLICA WILL NOT WORK
samba.replicas is {{ $replicas }}. Every replica mounts the same
ReadWriteOnce claims — this chart writes plain PVCs, not a StatefulSet
volumeClaimTemplate, so there is no per-pod volume. Unless the storage
class hands those claims to several nodes at once, the extra pods never
start; where they do, two independent smbd instances write the same files
with separate lock databases, which is how SMB corrupts data. The Service
would hand clients to either pod at random. This chart is built for one
replica.
{{ end }}
SECRETS — WHAT THE 1PASSWORD ITEM MUST CARRY
{{ .Values.secrets.sambaUsersSecretRef }}
→ Secret {{ .Release.Name }}-{{ .Chart.Name }}-users-secret
field "users.conf"
The operator copies an item's FIELDS into the Secret, one key per field
name, and this chart mounts exactly one key: users.conf. The field has to
be spelled that way to the letter — a differently named field yields a
Secret without that key, and then the pod does not start at all — it never
gets past volume setup, so there is no log to read. The mount failure that
names the missing key is in the pod's events:
kubectl -n {{ .Release.Namespace }} describe pod {{ $sfs }}-0
The field's content is the user database, one line per user:
username:uid:groupname:gid:password
with an optional sixth field for a home directory. The entrypoint creates
a real Unix user per line at start; the password is the SMB password, in
clear text in the vault. Give the users gid {{ (fromYaml (include "samba.podSecurityContext" .Values.samba.securityContext)).fsGroup | default 1000 }} — that is the pod's
fsGroup, and it is what the share volumes are group-owned by. A user with
a different gid authenticates fine and then cannot write.
Every name in a share's validUsers must exist here. One that does not is
not an error anywhere: the share simply refuses that login.
CHANGING THE USER LIST DOES NOT RESTART ANYTHING
Helm never sees the content of a 1Password-backed Secret, so editing the
item in the vault changes no rendered object and nothing rolls. Added,
removed and re-passworded users stay invisible to the running smbd until
you restart it by hand:
kubectl -n {{ .Release.Namespace }} rollout restart statefulset/{{ $sfs }}
The operator's own auto-restart annotation is no substitute — it only ever
restarts Deployments, and this workload is a StatefulSet. Pointing
secrets.sambaUsersSecretRef at a DIFFERENT item does roll the pod, because
that changes the rendered CR.
EVERY RESTART DROPS EVERY OPEN SMB SESSION
This is a single pod, and SMB sessions live in its TCP connections and in
lock databases under /var/lib/samba that go with the container. A restart
therefore disconnects every client at once: open handles die, in-flight
writes are lost, and a client that had a file open sees an I/O error
rather than a reconnect. SMB3 persistent handles do not save you here.
What triggers a restart is wider than it looks. The pod template carries a
checksum of the rendered smb.conf, so ANY edit to samba.shares rolls the
pod — including adding a share that has nothing to do with the ones in
use, or only fixing a share's description. So does a change to
samba.env, the resources, the probes, the security context or the app
version. Plan share changes for a window when nobody has files open, and
expect the disconnect even for edits that look additive.
THE SHARE VOLUMES BELONG TO THIS RELEASE
The PVCs are ordinary resources of this release, not volumeClaimTemplates,
and they carry no resource-policy annotation. Two consequences:
helm uninstall {{ .Release.Name }} deletes them, and with a Delete reclaim policy
every file on every share goes with them. Back the volumes up first; an
annotation added to the live PVC afterwards does not help, because Helm
reads that annotation from the release manifest.
Renaming a share in samba.shares is not a rename. The claim name is
derived from the share name, so the next upgrade creates a new, empty
claim and deletes the old one — data loss dressed up as a config edit.
Copy the data out first, or leave the name alone.
Growing samba.shares[].size only works if the storage class allows volume
expansion. Shrinking is refused by Kubernetes and makes the next upgrade
fail on the PVC instead of touching the data.
WHAT A READY POD DOES NOT PROVE
All three probes are bare TCP connects to port 445. Green therefore means
one thing only: smbd is listening. It says nothing about whether users.conf
parsed, whether the users were created, whether a password is right or
whether any share is usable. A release can be fully Ready and refuse every
single login. The startup probe{{ if $budget }} covers {{ $budget }} and{{ end }} keeps liveness and
readiness off until the port opens.
User creation happens in the entrypoint, so that is where a malformed
users.conf surfaces:
kubectl -n {{ .Release.Namespace }} logs statefulset/{{ $sfs }}
The real check is a login from a client — it is the only thing that
exercises authentication and the share list at once:
smbclient -L //NODE-IP -p {{ if $smbPort }}{{ $smbPort }}{{ else }}NODEPORT{{ end }} -U USER
Note also that the pod runs as root with a writable root filesystem and a
non-empty capabilities.add. That is a documented deviation from this
repo's hardening baseline, forced by the image: the entrypoint creates the
Unix users and smbd impersonates the share user per session. Do not
"restore" the standard here — it breaks the file server.
THE ROOT FILESYSTEM IS EPHEMERAL AND ACCOUNTED FOR
Shares are on PVCs, but everything the entrypoint writes outside them —
/etc/passwd, the Samba TDB databases under /var/lib/samba — lives on the
container's writable layer. It is discarded on every restart, which is
fine because the users are rebuilt from users.conf each time, and it
counts against the container's ephemeral-storage limit ({{ $eph }}).
Exceeding that limit does not fail a request: the kubelet evicts the pod,
and the reason shows on the pod, not in Samba's log.
{{- if .Values.samba.env }}
samba.env IS THE CONTAINER'S WHOLE ENVIRONMENT
The chart sets no environment variable of its own, so the {{ len .Values.samba.env }} entr{{ if eq (len .Values.samba.env) 1 }}y{{ else }}ies{{ end }} here
{{ if eq (len .Values.samba.env) 1 }}is{{ else }}are{{ end }} all the container gets. They are rendered through tpl, so a value
may contain template expressions. Anything sensitive belongs in
valueFrom.secretKeyRef: a plain "value" is stored in the pod spec and
readable by everyone who can read pods in {{ .Release.Namespace }}. Note that smb.conf is
fully rendered by the chart, so image variables that would generate a
config do not override it.
{{- end }}
{{- if .Values.networkPolicy.enabled }}
NETWORKPOLICY IS ACTIVE — WHAT IT CAPS, AND WHAT IT DOES NOT
{{ .Release.Name }}-{{ .Chart.Name }}-networkpolicy selects this workload's pods.
Inbound: TCP 445 and 139 — the POD ports, open to any source, because they
are published as NodePorts ({{ .Values.samba.smbNodePort }} and {{ .Values.samba.netbiosNodePort }}) and the clients are machines
on the LAN. Outbound: DNS{{ with .Values.networkPolicy.egress }}{{ with .extraPorts }} plus TCP {{ join ", " . }}{{ end }}{{ end }}.
THE POLICY NAMES 445 AND 139, NOT THE NODEPORTS. A NetworkPolicy is evaluated
at the pod's network interface, after kube-proxy has already translated the
NodePort — so the NodePort numbers would match nothing there. This is the
easiest mistake to make in this chart, and it would look like a strict policy
while blocking every SMB client.
A DOMAIN-JOINED SAMBA NEEDS MORE: Kerberos (88) and LDAP (389 or 636) in
networkPolicy.egress.extraPorts. A standalone one needs nothing.
Three limits belong in the same breath, because none of them is visible in
the object itself:
- EGRESS IS BY PORT, NEVER BY DESTINATION. A NetworkPolicy matches CIDRs and
selectors and cannot express a hostname, so every egress rule permits its
port to ANY address. That is a limit of the object, not a shortcut — this
cluster's CNI (Canal: Flannel plus Calico) has no FQDN rule either. An
outbound port the chart does not know about is BLOCKED: add it to
networkPolicy.egress.extraPorts, and expect to find out through an
application-level connection error rather than through this object.
{{- if .Values.networkPolicy.probeSources }}
- THE PROBE PATH IS RESTRICTED in this release, because
networkPolicy.probeSources is set to
{{ join ", " .Values.networkPolicy.probeSources }}
Probes come from the IP of the WORKER NODE running the pod. If none of those
CIDRs covers the node this pod lands on, the kubelet's probes are dropped
and THE POD NEVER BECOMES READY — the rollout then times out and the symptom
looks like a broken application. Compare
kubectl -n {{ .Release.Namespace }} describe pod -l app={{ .Release.Name }}-{{ .Chart.Name }}-sfs
against `kubectl get node -o wide`.
{{- else }}
- THE PROBED PORT IS OPEN INSIDE THE CLUSTER. networkPolicy.probeSources is
empty, so that rule carries no source selector at all and any pod the CNI
routes to can reach it. Not from the internet — but this is NOT pod-level
isolation. Narrowing it means listing the worker node IPs in
networkPolicy.probeSources, because the kubelet probes from the node's own
address and the chart cannot know it; a wrong guess there leaves the pod
permanently un-Ready.
{{- end }}
- IT IS ONLY A BOUNDARY WHERE THE CNI ENFORCES POLICIES. Where it does not,
this object is accepted and filters nothing, so everything reads as
configured while nothing is filtered. `kubectl -n {{ .Release.Namespace }} get networkpolicy`
shows the object exists; only a connection attempt from an unrelated
namespace shows that it bites.
Switch it off with networkPolicy.enabled: false.
{{- end }}