ci: fix lint errors across project, update ruff.toml per-file ignores
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# NetworkPolicy: Allow Traefik ingress to Woodpecker server
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: allow-traefik-to-woodpecker
|
||||
namespace: woodpecker
|
||||
spec:
|
||||
podSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: server
|
||||
policyTypes:
|
||||
- Ingress
|
||||
ingress:
|
||||
- from:
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
kubernetes.io/metadata.name: kube-system
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 8000
|
||||
Reference in New Issue
Block a user