Network Policies Tekton Pipeline Schema¶
Note
This is auto-generated documentation from a JSON schema that is under construction, this will improve over time.
Return to the root config schema
https://raw.githubusercontent.com/elastisys/compliantkubernetes-apps/main/config/schemas/config.yaml#/properties/networkPolicies/properties/tektonPipelines/properties/pipeline
Add required networkpolicies for the pipeline under the section pipeline.
The networkpolicies should follow the network policies generator. As such, it is possible to use pre-defined network policies rules. The pre-defined rules can be found here.
pipeline:
clone-config-pod:
podSelectorLabels:
tekton.dev/pipeline: upgrade-pipeline
ingress: {}
egress:
- rule: egress-rule-dns # pre-defined network policies rule.
- name: egress-rule-config-access
peers:
- cidr: 1.2.3.4/32
ports:
- tcp: 22
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | config/schemas/config.yaml* |
TYPE:
object
(Network Policies Tekton Pipeline)
Return to the root config schema
Generated Thu Dec 19 03:51:01 UTC 2024 from elastisys/compliantkubernetes-apps@main