Skip to content

Commit bb8ac2c

Browse files
authored
Fix incomplete argo manifest (#3100)
1 parent 3be6cdc commit bb8ac2c

File tree

1 file changed

+34
-27
lines changed

1 file changed

+34
-27
lines changed

src/pages/docs/argo-cd/instances/automated-installation.md

Lines changed: 34 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -142,31 +142,38 @@ The application YAML required to install the helm chart is as follows (replacing
142142
4. Apply the Argo CD application (or commit this manifest to your git-ops repository already synced by Argo CD)
143143

144144
```yaml
145-
project: default
146-
source:
147-
repoURL: registry-1.docker.io/octopusdeploy
148-
chart: octopus-argocd-gateway-chart
149-
targetRevision: 1.23.0
150-
helm:
151-
valuesObject:
152-
registration:
153-
octopus:
154-
name: <display name of gateway in Octopus>
155-
serverApiUrl: https://your-instance.octopus.app
156-
serverAccessTokenSecretName: octopus-server-access-token
157-
serverAccessTokenSecretKey: OCTOPUS_SERVER_ACCESS_TOKEN
158-
spaceId: Spaces-1
159-
gateway:
160-
octopus:
161-
serverGrpcUrl: grpc://your-instance.octopus.app:8443
162-
argocd:
163-
serverGrpcUrl: grpc://argocd-server.argocd.svc.cluster.local
164-
authenticationTokenSecretName: argocd-auth-token
165-
authenticationTokenSecretKey: ARGOCD_AUTH_TOKEN
166-
autoUpdate:
167-
# should be disabled, otherwise the auto-update job will keep trying to update the instance, while argo cd syncs it back to original state
168-
enabled: false
169-
destination:
170-
server: https://kubernetes.default.svc
171-
namespace: octopus-argo-gateway-your-namespace
145+
apiVersion: argoproj.io/v1alpha1
146+
kind: Application
147+
metadata:
148+
finalizers:
149+
- resources-finalizer.argocd.argoproj.io
150+
name: octopus-argo-gateway
151+
spec:
152+
project: default
153+
source:
154+
repoURL: registry-1.docker.io/octopusdeploy
155+
chart: octopus-argocd-gateway-chart
156+
targetRevision: 1.23.0
157+
helm:
158+
valuesObject:
159+
registration:
160+
octopus:
161+
name: <display name of gateway in Octopus>
162+
serverApiUrl: https://your-instance.octopus.app
163+
serverAccessTokenSecretName: octopus-server-access-token
164+
serverAccessTokenSecretKey: OCTOPUS_SERVER_ACCESS_TOKEN
165+
spaceId: Spaces-1
166+
gateway:
167+
octopus:
168+
serverGrpcUrl: grpc://your-instance.octopus.app:8443
169+
argocd:
170+
serverGrpcUrl: grpc://argocd-server.argocd.svc.cluster.local
171+
authenticationTokenSecretName: argocd-auth-token
172+
authenticationTokenSecretKey: ARGOCD_AUTH_TOKEN
173+
autoUpdate:
174+
# should be disabled, otherwise the auto-update job will keep trying to update the instance, while argo cd syncs it back to original state
175+
enabled: false
176+
destination:
177+
server: https://kubernetes.default.svc
178+
namespace: octopus-argo-gateway-your-namespace
172179
```

0 commit comments

Comments
 (0)