Skip to content

Error when upgrade Chart from 0.21.0 to 1.0.0 #292

@DevSecOps-Isotrol

Description

@DevSecOps-Isotrol

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions