chore(argo-cd): Add Proxy Extensions config (#2944)

* chore(argo-cd): Add Proxy Extensions config

Signed-off-by: charlychiu <charlychiu@gmail.com>

* chore(argo-cd): Update docs

Signed-off-by: charlychiu <charlychiu@gmail.com>

---------

Signed-off-by: charlychiu <charlychiu@gmail.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
This commit is contained in:
charlychiu 2024-09-30 20:24:51 +08:00 committed by GitHub
parent 6b3f648f39
commit 32a3541b7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 25 additions and 3 deletions

View file

@ -228,6 +228,25 @@ configs:
# - profile
# - email
# Extension Configuration
## Ref: https://argo-cd.readthedocs.io/en/latest/developer-guide/extensions/proxy-extensions/
# extension.config: |
# extensions:
# - name: httpbin
# backend:
# connectionTimeout: 2s
# keepAlive: 15s
# idleConnectionTimeout: 60s
# maxIdleConnections: 30
# services:
# - url: http://httpbin.org
# headers:
# - name: some-header
# value: '$some.argocd.secret.key'
# cluster:
# name: some-cluster
# server: https://some-cluster
# Argo CD configuration parameters
## Ref: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/argocd-cmd-params-cm.yaml
params:
@ -266,6 +285,8 @@ configs:
server.disable.auth: false
# -- Enable GZIP compression
server.enable.gzip: true
# -- Enable proxy extension feature. (proxy extension is in Alpha phase)
server.enable.proxy.extension: false
# -- Set X-Frame-Options header in HTTP responses to value. To disable, set to "".
server.x.frame.options: sameorigin