Skip to content

Commit 5b8b98e

Browse files
feat: add installation improvements (#55)
* fix(values): correct installation values Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * feat: migrate admission policies Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * fix(docs): installation corrections Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> --------- Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
1 parent a8106fb commit 5b8b98e

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

content/en/docs/operating/setup/admission-policies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ spec:
140140
- name: alice
141141
kind: User
142142
nodeSelector:
143-
customer: public-services{{< /tab >}}
143+
node-role.kubernetes.io/worker: ''{{< /tab >}}
144144
{{< tab header="VAP" >}}
145145
---
146146
apiVersion: admissionregistration.k8s.io/v1

content/en/docs/operating/setup/installation.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,18 @@ There are no specific requirements for using Capsule with GitOps tools like Argo
138138

139139
Manifests to get you started with ArgoCD. For ArgoCD you might need to skip the validation of the `CapsuleConfiguration` resources, otherwise there might be errors on the first install:
140140

141+
{{% alert title="Information" color="warning" %}}
142+
The `Validate=false` option is required for the CapsuleConfiguration resource, because ArgoCD tries to validate the resource before the Capsule CRDs are installed via our CRD Lifecycle hook. [Upstream Issue](https://github.com/argoproj/argo-cd/issues/16144). This has mainly been observed in ArgoCD Applications using Service-Side Diff/Apply.
143+
{{% /alert %}}
144+
141145
```yaml
142146
manager:
143147
options:
144148
annotations:
145-
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
149+
argocd.argoproj.io/sync-options: "Validate=false,SkipDryRunOnMissingResource=true"
146150
```
147151

152+
148153
```yaml
149154
---
150155
apiVersion: argoproj.io/v1alpha1
@@ -161,7 +166,6 @@ spec:
161166
targetRevision: 0.11.0
162167
chart: capsule
163168
helm:
164-
skipCrds: true
165169
valuesObject:
166170
crds:
167171
install: true
@@ -173,7 +177,7 @@ spec:
173177
manager:
174178
options:
175179
annotations:
176-
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
180+
argocd.argoproj.io/sync-options: "Validate=false,SkipDryRunOnMissingResource=true"
177181
capsuleConfiguration: default
178182
ignoreUserGroups:
179183
- oidc:administators

0 commit comments

Comments
 (0)