Parameters
The parent key for all of the following parameters is vshn_sli_reporting
.
namespace
type |
string |
default |
|
The namespace in which to deploy this component.
sli_reporting.resources
type |
dict |
default |
|
Pod resource requests and limits.
sli_reporting.auth.user
type |
string |
default |
"admin" |
Username for HTTP basic authentication required by the SLI reporting API.
sli_reporting.auth.password
type |
string |
Password for HTTP basic authentication required by the SLI reporting API. Required parameter.
sli_reporting.lieutenant.k8s_url
type |
string |
API URL where the kubernetes API of the Lieutenant cluster can be reached. Required.
sli_reporting.lieutenant.sa_token
type |
string |
Service account token which is able to get clusters on the Lieutenant cluster. Required.
sli_reporting.lieutenant.namespace
type |
string |
default |
lieutenant |
Namespace in which Cluster resources can be found on the Lieutenant cluster.
sli_reporting.prometheus.url
type |
string |
default |
"" |
example |
"http://prometheus-operated.monitoring.svc.cluster.local:9090" |
URL of the Prometheus instance to query for SLI data.
sli_reporting.prometheus.headers
type |
dictionary |
default |
{} |
example |
|
Additional HTTP headers to be sent to the SLI Prometheus instance.
network_policies.target_namespaces
type |
dictionary |
default |
|
example |
|
Injects a network policy into the target namespace given by the key, allowing communication to the namespace.
This is a workaround and the parameter will disappear once we’ve a more native way to manage network policies with Project Syn. |
extra_volumes
type |
dict |
||||
default | |||||
example |
|
A list of additional volumes to be mounted into each container.
Example
namespace: example-namespace
images:
sli_reporting:
registry: ghcr.io
repository: vshn/vshn-sli-reporting
tag: v0.1.2
auth:
user: admin
password: SuperSecretPassword
db_file: /data/data.db
storage_requests: 1Gi
lieutenant:
k8s_url: https://my.lieutenant.k8s.api.url
sa_token: eySomeApiToken
namespace: lieutenant
extra_volumes:
vshn_sli_reporting:
my_volume:
mount_spec:
mountPath: "/foo"
volume_spec:
emptyDir:
sizeLimit: "500Mi"