This is an automated email from the ASF dual-hosted git repository.
gyfora pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git
The following commit(s) were added to refs/heads/main by this push:
new d43e1ca9 [docs] simplify the Argo CD docs
d43e1ca9 is described below
commit d43e1ca9050e83b492b2e16b0220afdba4ffa646
Author: Xin Hao <[email protected]>
AuthorDate: Mon Jun 12 18:04:06 2023 +0800
[docs] simplify the Argo CD docs
---
docs/content/docs/operations/helm.md | 30 +++++-------------------------
1 file changed, 5 insertions(+), 25 deletions(-)
diff --git a/docs/content/docs/operations/helm.md
b/docs/content/docs/operations/helm.md
index bb70e793..fecb4891 100644
--- a/docs/content/docs/operations/helm.md
+++ b/docs/content/docs/operations/helm.md
@@ -151,44 +151,24 @@ Check out this
[document](https://kubernetes.io/docs/reference/access-authn-auth
## Working with Argo CD
-If you are using [Argo CD](https://argoproj.github.io) to manage the operator,
you will encounter the issue which complains the CRDs too long. Same with [this
issue](https://github.com/prometheus-operator/prometheus-operator/issues/4439).
-The recommended solution is to split the operator into two Argo apps, such as:
-
-* The first app just for installing the CRDs with `Replace=true` directly,
snippet:
-
-```yaml
-apiVersion: argoproj.io/v1alpha1
-kind: Application
-metadata:
- name: flink-kubernetes-operator-crds
-spec:
- source:
- repoURL: https://github.com/apache/flink-kubernetes-operator
- targetRevision: main
- path: helm/flink-kubernetes-operator/crds
- syncPolicy:
- syncOptions:
- - Replace=true
-...
-```
-
-* The second app that installs the Helm chart with `skipCrds=true` (new
feature in Argo CD 2.3.0), snippet:
+If you are using [Argo CD](https://argoproj.github.io) to manage the operator,
+the simplest example could look like this.
```yaml
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
- name: flink-kubernetes-operator-skip-crds
+ name: flink-kubernetes-operator
spec:
source:
repoURL: https://github.com/apache/flink-kubernetes-operator
targetRevision: main
path: helm/flink-kubernetes-operator
- helm:
- skipCrds: true
...
```
+Check out [Argo CD
documents](https://argo-cd.readthedocs.io/en/stable/user-guide/helm/) for more
details.
+
## Advanced customization techniques
The Helm chart does not aim to provide configuration options for all the
possible deployment scenarios of the Operator. There are use cases for
injecting common tools and/or sidecars in most enterprise environments that
cannot be covered by public Helm charts.