Skip to content

Commit

Permalink
Extend prometheus-operator-app timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinBisson committed Nov 15, 2023
1 parent 73691d5 commit 311c801
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Extend `prometheus-operator-app` timeout to avoid race condition with VPA causing the app to be stuck in `pending-install` state.

## [0.10.0] - 2023-11-08

### Changed
Expand Down
4 changes: 2 additions & 2 deletions helm/observability-bundle/templates/apps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ spec:
{{- end }}
install:
skipCRDs: {{.skipCRDs | default false }}
timeout: 10m
timeout: {{ .timeout | default "10m" }}
upgrade:
timeout: 10m
timeout: {{ .timeout | default "10m" }}
kubeConfig:
## Vintage MCs do not have a kubeconfig secret
{{- if eq $.Release.Namespace "giantswarm" }}
Expand Down
46 changes: 46 additions & 0 deletions helm/observability-bundle/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,49 @@
"apps": {
"type": "object",
"properties": {
"grafanaAgent": {
"type": "object",
"properties": {
"appName": {
"type": "string"
},
"catalog": {
"type": "string"
},
"chartName": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"extraConfigs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
}
}
}
},
"namespace": {
"type": "string"
},
"userConfig": {
"type": "object"
},
"version": {
"type": "string"
}
}
},
"prometheus-agent": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -92,6 +135,9 @@
"skipCRDs": {
"type": "boolean"
},
"timeout": {
"type": "string"
},
"userConfig": {
"type": "object"
},
Expand Down
1 change: 1 addition & 0 deletions helm/observability-bundle/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ apps:
enabled: true
namespace: kube-system
skipCRDs: true
timeout: 15m
# used by renovate
# repo: giantswarm/prometheus-operator-app
version: 6.2.1
Expand Down

0 comments on commit 311c801

Please sign in to comment.