Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6863 from mukundansundar/patch-operator
[release-1.11] Patch operator for Argo CD
- Loading branch information
Showing
8 changed files
with
172 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Dapr 1.11.3 | ||
|
||
This update includes a fix for operator deployment on Kubernetes. | ||
- [Fixed Dapr Operator CrashLoopBackOff when Argo Controller is enabled](#fixed-dapr-operator-crashloopbackoff-when-argo-controller-is-enabled) | ||
|
||
## Fixed Dapr Operator CrashLoopBackOff when Argo Controller is enabled | ||
|
||
### Problem | ||
|
||
When using the Dapr Operator on Kubernetes with Argo Controller enabled, the operator would fail to start with the following error: | ||
|
||
``` | ||
time="2023-07-11T17:22:49.937549597Z" level=fatal msg="error running operator: error running operator: failed to wait for rollout caches to sync: timed out waiting for cache to be synced" instance=dapr-operator-7cd6d96dfd-9wbj7 scop │ │ Stream closed EOF for dapr-system/dapr-operator-7cd6d96dfd-9wbj7 (dapr-operator) | ||
``` | ||
|
||
### Impact | ||
|
||
The Dapr Operator would fail to start when Argo Controller is enabled and a Argo rollout is performend. | ||
|
||
### Root cause | ||
|
||
The Dapr Operator was not creating the full Operator scheme before waiting for the controller manager to start. | ||
|
||
### Solution | ||
|
||
Updated the Dapr Operator to create the full Operator scheme before waiting for the controller manager to start. |
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
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,28 @@ | ||
global: | ||
postgresql: | ||
auth: | ||
username: postgres | ||
postgresPassword: example | ||
database: dapr_test | ||
primary: | ||
initdb: | ||
scripts: | ||
init.sql: | | ||
CREATE TABLE IF NOT EXISTS configtable (KEY VARCHAR NOT NULL, VALUE VARCHAR NOT NULL, VERSION VARCHAR NOT NULL, METADATA JSON); | ||
affinity: | ||
nodeAffinity: | ||
requiredDuringSchedulingIgnoredDuringExecution: | ||
nodeSelectorTerms: | ||
- matchExpressions: | ||
- key: kubernetes.io/os | ||
operator: In | ||
values: | ||
- linux | ||
- key: kubernetes.io/arch | ||
operator: In | ||
values: | ||
- amd64 | ||
persistence: | ||
enabled: false | ||
tls: | ||
enabled: false |
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
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