Network Policies Prometheus Internal Access 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/prometheus/properties/internalAccess
Configure network policy rules to allow internal access to Prometheus.
This requires the allowed namespaces to be configured under namespaces
and the allowed pods to be labeled elastisys.io/prometheus-access: allowed
.
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 Prometheus Internal Access)
PROPERTIES:
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
enabled | boolean |
Optional | cannot be null | Compliant Kubernetes Apps Config |
namespaces | array |
Optional | cannot be null | Compliant Kubernetes Apps Config |
enabled¶
enabled
-
is optional
-
Type:
boolean
(Prometheus Internal Access Enabled) -
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
boolean
(Prometheus Internal Access Enabled)
namespaces¶
Configure the namespaces to allow internal access to Prometheus.
namespaces
-
is optional
-
Type:
string[]
(Namespace Name) -
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
string[]
(Namespace Name)
DEFAULTS:
The default value is:
[]
Return to the root config schema
Generated Thu Nov 14 16:21:55 UTC 2024 from elastisys/compliantkubernetes-apps@v0.41.0