Network Policies Tekton Piepline 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/v0.41.0/config/schemas/config.yaml#/properties/networkPolicies/properties/tektonPipelines
Enable network policies for tekton and the peipline.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | config/schemas/config.yaml* |
TYPE:
object
(Network Policies Tekton Piepline)
PROPERTIES:
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
enabled | boolean |
Optional | cannot be null | Compliant Kubernetes Apps Config |
pipeline | object |
Optional | cannot be null | Compliant Kubernetes Apps Config |
enabled¶
enabled
-
is optional
-
Type:
boolean
(Network Policies Tekton Enabled) -
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
boolean
(Network Policies Tekton Enabled)
DEFAULTS:
The default value is:
true
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
pipeline
-
is optional
-
Type:
object
(Network Policies Tekton Pipeline) -
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
object
(Network Policies Tekton Pipeline)
Return to the root config schema
Generated Thu Nov 14 16:21:55 UTC 2024 from elastisys/compliantkubernetes-apps@v0.41.0