Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
Update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Marie Roque committed Oct 26, 2023
1 parent 6ff1027 commit 7c42040
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 3 deletions.
58 changes: 55 additions & 3 deletions helm/grafana-agent/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,81 @@
"global": {
"type": "object",
"properties": {
"imageRegistry": {
"type": "string"
"image": {
"type": "object",
"properties": {
"registry": {
"type": "string"
}
}
}
}
},
"grafana-agent": {
"type": "object",
"properties": {
"configReloader": {
"type": "object",
"properties": {
"image": {
"type": "object",
"properties": {
"repository": {
"type": "string"
}
}
}
}
},
"image": {
"type": "object",
"properties": {
"repository": {
"type": "string"
}
}
},
"serviceMonitor": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
}
}
}
}
},
"kyvernoPolicyExceptions": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"namespace": {
"type": "string"
}
}
},
"serviceMonitor": {
"loggingSecret": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"password": {
"type": "string"
},
"secretName": {
"type": "string"
},
"tenantId": {
"type": "string"
},
"url": {
"type": "string"
},
"username": {
"type": "string"
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions helm/grafana-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ kyvernoPolicyExceptions:
# Block to manage a secret with logging credentials in order to push data to logging system
loggingSecret:
enabled: false
## Those values are set by the logging-operator because there are related to the cluster
# secretName: <secret name where are stored those credentials>
# url: <Loki url where to send data>
# tenantId: <Tenant ID>
# username: <user with write access>
# password: <user password>

grafana-agent:
image:
Expand Down

0 comments on commit 7c42040

Please sign in to comment.