forked from argoproj/argo-cd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add v1.8 changelog and upgrading instructions (argoproj#4888)
Signed-off-by: Alexander Matyushentsev <[email protected]>
- Loading branch information
Alexander Matyushentsev
authored
Nov 23, 2020
1 parent
ae12145
commit cb59fc7
Showing
3 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# v1.7 to 1.8 | ||
|
||
## The argocd-application-controller converted to StatefulSet | ||
|
||
The `argocd-application-controller` has been converted to StatefulSet. That means you need to manually delete `argocd-application-controller` Deployment after upgrading. | ||
Similarly if you decided to rollback to v1.7 don't forget to delete `argocd-application-controller` StatefulSet. | ||
|
||
|
||
## Health assessement of argoproj.io/Application CRD has been removed | ||
|
||
The health assessement of `argoproj.io/Application` CRD has been removed (see [#3781](https://github.com/argoproj/argo-cd/issues/3781) for more information). | ||
You might need to restore it if you are using app-of-apps pattern and orchestrating syncronization using sync waves. Add the following resource customization in | ||
`argocd-cm` ConfigMap: | ||
|
||
```yaml | ||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: argocd-cm | ||
namespace: argocd | ||
labels: | ||
app.kubernetes.io/name: argocd-cm | ||
app.kubernetes.io/part-of: argocd | ||
data: | ||
resource.customizations: | | ||
argoproj.io/Application: | ||
health.lua: | | ||
hs = {} | ||
hs.status = "Healthy" | ||
hs.message = "" | ||
if obj.status ~= nil then | ||
if obj.status.health ~= nil then | ||
hs.status = obj.status.health.status | ||
hs.message = obj.status.health.message | ||
end | ||
end | ||
return hs | ||
``` | ||
From here on you can follow the [regular upgrade process](./overview.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters