apache / apache/devlake-helm-chart

Error when upgrade Chart from 0.21.0 to 1.0.0

Open
#292 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go Template
Stars
52
Forks
72
Avg merge
21h 4m
Merged PRs (30d)
1

Description

Hello

The last major upgrade of Incubator Devlake Chart generates the next error:

> Failed sync attempt to : one or more objects failed to apply, reason: Deployment.apps "devlake-grafana" is invalid: spec.strategy.rollingUpdate: Forbidden: may not be specified when strategy `type` is 'Recreate' (retried 5 times).

I have RollingUpdate configured in Lake section:

```
lake:
strategy:
type: RollingUpdate
```

In the Values file I can't config anything about Grafana strategy, so I suposse that it is configured in the Template, because Argo tries to change this element from Recreate to RollingUpdate.

To solve this problem I have configured an ingnore differences in the Argo Application file:

```
- group: apps
kind: Deployment
name: devlake-grafana
jsonPointers:
- /spec/strategy
```

Could you review this issue, please?
Thanks

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Inspect the Grafana Deployment template and the rendered manifest during the 0.21.0-to-1.0.0 upgrade, comparing spec.strategy.type with rollingUpdate. Done means Argo can sync without the invalid strategy error or an ignoreDifferences workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
helm, kubernetes
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.