Compare commits
267 commits
argo-cd-6.
...
main
Author | SHA1 | Date | |
---|---|---|---|
![]() |
52870ab907 | ||
![]() |
341406ccb2 | ||
![]() |
689fed54cb | ||
![]() |
3a329eae63 | ||
![]() |
ff07848068 | ||
![]() |
56b2429f3b | ||
![]() |
d40470b95d | ||
![]() |
f7b5090efb | ||
![]() |
b732ef4689 | ||
![]() |
c77cb712e0 | ||
![]() |
f30bcd682d | ||
![]() |
6b1ea92acb | ||
![]() |
ffacdd45f9 | ||
![]() |
55d2330df6 | ||
![]() |
2602b7a364 | ||
![]() |
4cfcbc2e26 | ||
![]() |
c9e59be22f | ||
![]() |
2a21283641 | ||
![]() |
56c5a31c9e | ||
![]() |
2685b861d2 | ||
![]() |
d75b9d35a3 | ||
![]() |
d81ca4b23b | ||
![]() |
692bd040ce | ||
![]() |
c2f3d9967d | ||
![]() |
eed462224d | ||
![]() |
2963628712 | ||
![]() |
79ec8fdb94 | ||
![]() |
bf9830c670 | ||
![]() |
27ef4ecd7d | ||
![]() |
8ba5f22bdf | ||
![]() |
b0578c4001 | ||
![]() |
191e7688ab | ||
![]() |
b10de03026 | ||
![]() |
23b484de9c | ||
![]() |
6c5e25c743 | ||
![]() |
d963962c56 | ||
![]() |
9946d3dfee | ||
![]() |
796f6c8dc3 | ||
![]() |
3b2d2767d9 | ||
![]() |
89f40fd001 | ||
![]() |
b594e6bd20 | ||
![]() |
02db043ff1 | ||
![]() |
a0831126cc | ||
![]() |
844afb6611 | ||
![]() |
91ad82947c | ||
![]() |
2436051d5c | ||
![]() |
279930e133 | ||
![]() |
9bd03f64b2 | ||
![]() |
0877c58e19 | ||
![]() |
74376f6cab | ||
![]() |
ef90ecc844 | ||
![]() |
ca63415d8a | ||
![]() |
06af22458f | ||
![]() |
46b76061b5 | ||
![]() |
f9856eb583 | ||
![]() |
c6e5aba590 | ||
![]() |
21d9d3e18a | ||
![]() |
5e8ac12acd | ||
![]() |
e72297ca73 | ||
![]() |
eb53a916b8 | ||
![]() |
cf8b6950f1 | ||
![]() |
9bf8f97811 | ||
![]() |
168bc63bd6 | ||
![]() |
0195a3581e | ||
![]() |
3767e5b8ae | ||
![]() |
344fcae2a1 | ||
![]() |
b1333d8491 | ||
![]() |
07c5b5df98 | ||
![]() |
d0b5926c0b | ||
![]() |
3e1b02da23 | ||
![]() |
4909b42870 | ||
![]() |
90eef9ef1f | ||
![]() |
e888b374c9 | ||
![]() |
ccfa0651cb | ||
![]() |
8a1d39610c | ||
![]() |
81dc44c4a5 | ||
![]() |
7e397f75f3 | ||
![]() |
5ab558e917 | ||
![]() |
37b52a5693 | ||
![]() |
84329170e0 | ||
![]() |
5869c1d2bb | ||
![]() |
936101865d | ||
![]() |
7a8cdf0843 | ||
![]() |
0061e14563 | ||
![]() |
0f79d5af86 | ||
![]() |
2aea9e4cab | ||
![]() |
c19cba01f8 | ||
![]() |
09b5c1a754 | ||
![]() |
1c95f37c68 | ||
![]() |
69f3eddca8 | ||
![]() |
baef862c36 | ||
![]() |
5a57de40a8 | ||
![]() |
ec2f23a304 | ||
![]() |
d17587e347 | ||
![]() |
d5438bf6b3 | ||
![]() |
ba2b049399 | ||
![]() |
909ece4d59 | ||
![]() |
85121e8451 | ||
![]() |
0d2e23fe5d | ||
![]() |
b311cd20f0 | ||
![]() |
168350f803 | ||
![]() |
f0c5ccc32a | ||
![]() |
3c24fa1bfd | ||
![]() |
3ba89c1add | ||
![]() |
3ec746187b | ||
![]() |
cad02d827a | ||
![]() |
f6556f6ef0 | ||
![]() |
566e009934 | ||
![]() |
7a831569e9 | ||
![]() |
bbb38b310d | ||
![]() |
d61432be3c | ||
![]() |
994838a2ef | ||
![]() |
c38d299f01 | ||
![]() |
687bedb946 | ||
![]() |
32a3541b7f | ||
![]() |
6b3f648f39 | ||
![]() |
c8948d2096 | ||
![]() |
ebb2d15f1e | ||
![]() |
388c5aea66 | ||
![]() |
e94dc2ea10 | ||
![]() |
d0341cc441 | ||
![]() |
4b651b3474 | ||
![]() |
1773b67d65 | ||
![]() |
0afd9e66bf | ||
![]() |
edd04f6ec8 | ||
![]() |
b50a0731e7 | ||
![]() |
fd70c609bd | ||
![]() |
c5e6458cd6 | ||
![]() |
133e70a9ea | ||
![]() |
8adc2939a2 | ||
![]() |
8096751c17 | ||
![]() |
2e05c8b57b | ||
![]() |
b33b3dbd30 | ||
![]() |
97acfc9360 | ||
![]() |
e718e46651 | ||
![]() |
7c8bbd62e8 | ||
![]() |
a344d64fbd | ||
![]() |
687392688f | ||
![]() |
a5dc0350b9 | ||
![]() |
3a1066cb5a | ||
![]() |
d144195ff4 | ||
![]() |
e709ba3b5a | ||
![]() |
2b25efdb32 | ||
![]() |
cd8245716a | ||
![]() |
2df52cba0e | ||
![]() |
777f5410c5 | ||
![]() |
466dd69355 | ||
![]() |
66615c347a | ||
![]() |
991579f324 | ||
![]() |
0c27d8d946 | ||
![]() |
e49123cdf4 | ||
![]() |
8c0b686895 | ||
![]() |
d1f5d50dcd | ||
![]() |
243dc286a7 | ||
![]() |
51e1e5b735 | ||
![]() |
f4101a7947 | ||
![]() |
96320b6486 | ||
![]() |
4f4fb956d3 | ||
![]() |
a7e5915b21 | ||
![]() |
817182bdb0 | ||
![]() |
2251079c26 | ||
![]() |
97a3db19cf | ||
![]() |
c2ba09055c | ||
![]() |
feff5aeea0 | ||
![]() |
b5fcbe23c8 | ||
![]() |
d89333a6b8 | ||
![]() |
67c720d23f | ||
![]() |
3fb3397d96 | ||
![]() |
3ecc30aa15 | ||
![]() |
87e6dd9b63 | ||
![]() |
89bc396b55 | ||
![]() |
511d0d0adc | ||
![]() |
d32e6b537c | ||
![]() |
b4151e94ba | ||
![]() |
211bd44603 | ||
![]() |
be36117924 | ||
![]() |
809351a3fb | ||
![]() |
2285578bba | ||
![]() |
94b270ad18 | ||
![]() |
2653aef414 | ||
![]() |
79e32424d6 | ||
![]() |
ea28da27d1 | ||
![]() |
6dab549268 | ||
![]() |
f9b619dc6a | ||
![]() |
5098495468 | ||
![]() |
de281eca6e | ||
![]() |
5e862ea63b | ||
![]() |
080e79078c | ||
![]() |
475d7e724d | ||
![]() |
24275df2aa | ||
![]() |
80e6e6bebd | ||
![]() |
9cefbb3daf | ||
![]() |
171177ab77 | ||
![]() |
425e98ecff | ||
![]() |
3d98d04f43 | ||
![]() |
889c3e9565 | ||
![]() |
db0f57b309 | ||
![]() |
ee508fe7fc | ||
![]() |
7b30c3bcfa | ||
![]() |
ad8d48c590 | ||
![]() |
2ba2eb3daf | ||
![]() |
02949b14b1 | ||
![]() |
b0d4648471 | ||
![]() |
e34b45b3ea | ||
![]() |
8130224b3b | ||
![]() |
3c127abe7b | ||
![]() |
6946696aae | ||
![]() |
fab2809c67 | ||
![]() |
b26191b776 | ||
![]() |
5fa92f5189 | ||
![]() |
a07f981d4e | ||
![]() |
43c626d31e | ||
![]() |
ea967df1e3 | ||
![]() |
e088468e72 | ||
![]() |
4c29c31b9a | ||
![]() |
8b02b6d9b8 | ||
![]() |
377332f8c7 | ||
![]() |
3dd3e1a754 | ||
![]() |
02499d9b31 | ||
![]() |
19ef184d8f | ||
![]() |
98d8ea00e6 | ||
![]() |
0dae5da325 | ||
![]() |
4f50206813 | ||
![]() |
760d1995e0 | ||
![]() |
9607dee38e | ||
![]() |
45ff566614 | ||
![]() |
0a97419aa9 | ||
![]() |
2c05baf741 | ||
![]() |
5652e66777 | ||
![]() |
408500c5cc | ||
![]() |
165c6518d2 | ||
![]() |
fb807031a2 | ||
![]() |
fa2fb1c5c1 | ||
![]() |
728b6e7326 | ||
![]() |
e6776415a4 | ||
![]() |
3174f52ffc | ||
![]() |
f431e9b2be | ||
![]() |
fcee9a6046 | ||
![]() |
f9eb0b394c | ||
![]() |
4611a16463 | ||
![]() |
b95e14aa02 | ||
![]() |
5d3e581b11 | ||
![]() |
66c39a06d8 | ||
![]() |
4ce5e9be2e | ||
![]() |
39e1322df2 | ||
![]() |
7be9b016fb | ||
![]() |
87f717656a | ||
![]() |
510261328f | ||
![]() |
3693ed4270 | ||
![]() |
8e2f3d5bc0 | ||
![]() |
63306b32f8 | ||
![]() |
dcdcff2176 | ||
![]() |
1098ce1287 | ||
![]() |
0882bfcbd6 | ||
![]() |
35bc505bec | ||
![]() |
966b745e7b | ||
![]() |
6c08745136 | ||
![]() |
b9e4a3fd34 | ||
![]() |
65e99a1c04 | ||
![]() |
9c1e15abf3 | ||
![]() |
1119c0d8cc | ||
![]() |
dafe207ae1 | ||
![]() |
937a1702a1 | ||
![]() |
95b9a94701 | ||
![]() |
42bfba2cc8 | ||
![]() |
d82efb40cb | ||
![]() |
93b7a94650 |
211 changed files with 11765 additions and 1299 deletions
3
.github/configs/renovate-config.js
vendored
3
.github/configs/renovate-config.js
vendored
|
@ -1,6 +1,7 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
platform: 'github',
|
platform: 'github',
|
||||||
gitAuthor: 'renovate[bot] <renovate[bot]@users.noreply.github.com>',
|
// This ensures that the gitAuthor and gitSignOff fields match
|
||||||
|
gitAuthor: 'argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>',
|
||||||
autodiscover: false,
|
autodiscover: false,
|
||||||
allowPostUpgradeCommandTemplating: true,
|
allowPostUpgradeCommandTemplating: true,
|
||||||
allowedPostUpgradeCommands: [".*"],
|
allowedPostUpgradeCommands: [".*"],
|
||||||
|
|
8
.github/dependabot.yml
vendored
8
.github/dependabot.yml
vendored
|
@ -6,3 +6,11 @@ updates:
|
||||||
schedule:
|
schedule:
|
||||||
interval: weekly
|
interval: weekly
|
||||||
day: "saturday"
|
day: "saturday"
|
||||||
|
commit-message:
|
||||||
|
prefix: "chore(deps)"
|
||||||
|
groups:
|
||||||
|
dependencies:
|
||||||
|
applies-to: version-updates
|
||||||
|
update-types:
|
||||||
|
- "minor"
|
||||||
|
- "patch"
|
||||||
|
|
13
.github/workflows/lint-and-test.yml
vendored
13
.github/workflows/lint-and-test.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
||||||
options: --user 1001
|
options: --user 1001
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Run ah lint
|
- name: Run ah lint
|
||||||
working-directory: ./charts
|
working-directory: ./charts
|
||||||
run: ah lint
|
run: ah lint
|
||||||
|
@ -22,7 +22,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
@ -32,16 +32,16 @@ jobs:
|
||||||
version: v3.10.1 # Also update in publish.yaml
|
version: v3.10.1 # Also update in publish.yaml
|
||||||
|
|
||||||
- name: Set up python
|
- name: Set up python
|
||||||
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
|
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
|
||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: 3.9
|
||||||
|
|
||||||
- name: Setup Chart Linting
|
- name: Setup Chart Linting
|
||||||
id: lint
|
id: lint
|
||||||
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1
|
uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0
|
||||||
with:
|
with:
|
||||||
# Note: Also update in scripts/lint.sh
|
# Note: Also update in scripts/lint.sh
|
||||||
version: v3.10.0
|
version: v3.11.0
|
||||||
|
|
||||||
- name: List changed charts
|
- name: List changed charts
|
||||||
id: list-changed
|
id: list-changed
|
||||||
|
@ -70,11 +70,10 @@ jobs:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Create kind cluster
|
- name: Create kind cluster
|
||||||
uses: helm/kind-action@99576bfa6ddf9a8e612d83b513da5a75875caced # v1.9.0
|
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
|
||||||
if: steps.list-changed.outputs.changed == 'true'
|
if: steps.list-changed.outputs.changed == 'true'
|
||||||
with:
|
with:
|
||||||
config: .github/configs/kind-config.yaml
|
config: .github/configs/kind-config.yaml
|
||||||
|
|
||||||
- name: Deploy latest ArgoCD CRDs when testing ArgoCD extensions
|
- name: Deploy latest ArgoCD CRDs when testing ArgoCD extensions
|
||||||
if: |
|
if: |
|
||||||
contains(steps.list-changed.outputs.changed_charts, 'argocd-image-updater') ||
|
contains(steps.list-changed.outputs.changed_charts, 'argocd-image-updater') ||
|
||||||
|
|
2
.github/workflows/pr-sizing.yml
vendored
2
.github/workflows/pr-sizing.yml
vendored
|
@ -25,6 +25,6 @@ jobs:
|
||||||
size-label:
|
size-label:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: pascalgn/size-label-action@bbbaa0d5ccce8e2e76254560df5c64b82dac2e12 # v0.5.2
|
- uses: pascalgn/size-label-action@f8edde36b3be04b4f65dcfead05dc8691b374348 # v0.5.5
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|
2
.github/workflows/pr-title.yml
vendored
2
.github/workflows/pr-title.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
||||||
name: Validate PR title
|
name: Validate PR title
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: amannn/action-semantic-pull-request@e9fabac35e210fea40ca5b14c0da95a099eff26f # v5.4.0
|
- uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
|
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
@ -59,14 +59,14 @@ jobs:
|
||||||
PGP_PASSPHRASE: "${{ secrets.PGP_PASSPHRASE }}"
|
PGP_PASSPHRASE: "${{ secrets.PGP_PASSPHRASE }}"
|
||||||
|
|
||||||
- name: Run chart-releaser
|
- name: Run chart-releaser
|
||||||
uses: helm/chart-releaser-action@a917fd15b20e8b64b94d9158ad54cd6345335584 # v1.6.0
|
uses: helm/chart-releaser-action@cae68fefc6b5f367a0275617c9f83181ba54714f # v1.7.0
|
||||||
with:
|
with:
|
||||||
config: "./.github/configs/cr.yaml"
|
config: "./.github/configs/cr.yaml"
|
||||||
env:
|
env:
|
||||||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|
||||||
- name: Login to GHCR
|
- name: Login to GHCR
|
||||||
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1.0
|
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
|
|
9
.github/workflows/renovate.yaml
vendored
9
.github/workflows/renovate.yaml
vendored
|
@ -16,22 +16,23 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Get token
|
- name: Get token
|
||||||
uses: actions/create-github-app-token@7bfa3a4717ef143a604ee0a99d859b8886a96d00 # v1.9.3
|
uses: actions/create-github-app-token@0d564482f06ca65fa9e77e2510873638c82206f2 # v1.11.5
|
||||||
id: get_token
|
id: get_token
|
||||||
with:
|
with:
|
||||||
app-id: ${{ vars.RENOVATE_APP_ID }}
|
app-id: ${{ vars.RENOVATE_APP_ID }}
|
||||||
private-key: ${{ secrets.RENOVATE_APP_PRIVATE_KEY }}
|
private-key: ${{ secrets.RENOVATE_APP_PRIVATE_KEY }}
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
|
||||||
- name: Self-hosted Renovate
|
- name: Self-hosted Renovate
|
||||||
uses: renovatebot/github-action@2e021d24483d81e77e0e902d0809adfbfff276fc # v40.1.10
|
uses: renovatebot/github-action@e084b5ac6fd201023db6dd7743aec023babb02c8 # v41.0.13
|
||||||
with:
|
with:
|
||||||
configurationFile: .github/configs/renovate-config.js
|
configurationFile: .github/configs/renovate-config.js
|
||||||
# renovate: datasource=docker depName=ghcr.io/renovatebot/renovate
|
# renovate: datasource=docker depName=ghcr.io/renovatebot/renovate
|
||||||
renovate-version: 37.278.0
|
renovate-version: 39.153.2
|
||||||
token: '${{ steps.get_token.outputs.token }}'
|
token: '${{ steps.get_token.outputs.token }}'
|
||||||
|
mount-docker-socket: true
|
||||||
env:
|
env:
|
||||||
LOG_LEVEL: 'debug'
|
LOG_LEVEL: 'debug'
|
||||||
RENOVATE_REPOSITORIES: '${{ github.repository }}'
|
RENOVATE_REPOSITORIES: '${{ github.repository }}'
|
||||||
|
|
8
.github/workflows/scorecard.yml
vendored
8
.github/workflows/scorecard.yml
vendored
|
@ -33,12 +33,12 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout code"
|
- name: "Checkout code"
|
||||||
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: "Run analysis"
|
- name: "Run analysis"
|
||||||
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
|
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
|
||||||
with:
|
with:
|
||||||
results_file: results.sarif
|
results_file: results.sarif
|
||||||
results_format: sarif
|
results_format: sarif
|
||||||
|
@ -60,7 +60,7 @@ jobs:
|
||||||
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
|
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
|
||||||
# format to the repository Actions tab.
|
# format to the repository Actions tab.
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba # v4.3.2
|
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
|
||||||
with:
|
with:
|
||||||
name: SARIF file
|
name: SARIF file
|
||||||
path: results.sarif
|
path: results.sarif
|
||||||
|
@ -68,6 +68,6 @@ jobs:
|
||||||
|
|
||||||
# Upload the results to GitHub's code scanning dashboard.
|
# Upload the results to GitHub's code scanning dashboard.
|
||||||
- name: "Upload to code-scanning"
|
- name: "Upload to code-scanning"
|
||||||
uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
|
uses: github/codeql-action/upload-sarif@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9
|
||||||
with:
|
with:
|
||||||
sarif_file: results.sarif
|
sarif_file: results.sarif
|
||||||
|
|
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
||||||
pull-requests: write # for actions/stale to close stale PRs
|
pull-requests: write # for actions/stale to close stale PRs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
|
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# Number of days of inactivity before an issue becomes stale
|
# Number of days of inactivity before an issue becomes stale
|
||||||
|
|
60
README.md
60
README.md
|
@ -42,3 +42,63 @@ Please refer to [SECURITY.md](SECURITY.md) for details on how to report security
|
||||||
### Changelog
|
### Changelog
|
||||||
|
|
||||||
Releases are managed independently for each helm chart, and changelogs are tracked on each release. Read more about this process [here](https://github.com/argoproj/argo-helm/blob/main/CONTRIBUTING.md#changelog).
|
Releases are managed independently for each helm chart, and changelogs are tracked on each release. Read more about this process [here](https://github.com/argoproj/argo-helm/blob/main/CONTRIBUTING.md#changelog).
|
||||||
|
|
||||||
|
## Charts use Helm "Capabilities"
|
||||||
|
|
||||||
|
Our charts make use of the Helm built-in object "Capabilities":
|
||||||
|
> This provides information about what capabilities the Kubernetes cluster supports.
|
||||||
|
> *Source: https://helm.sh/docs/chart_template_guide/builtin_objects/*
|
||||||
|
|
||||||
|
Today we use:
|
||||||
|
|
||||||
|
- `.Capabilities.APIVersions.Has` mostly to determine whether the CRDs for ServiceMonitors (from prometheus-operator) exists inside the cluster
|
||||||
|
- `.Capabilities.KubeVersion.Version` to handle correct apiVersion of a specific resource kind (eg. "policy/v1" vs. "policy/v1beta1")
|
||||||
|
|
||||||
|
If you use the charts only to template the manifests, without installing (`helm install ..`), you need to make sure that Helm (or the Helm SDK) receives the available APIs from your Kubernetes cluster.
|
||||||
|
|
||||||
|
For this you need to pass the `--api-versions` parameter to the `helm template` command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
helm template argocd \
|
||||||
|
oci://ghcr.io/argoproj/argo-helm/argo-cd \
|
||||||
|
--api-versions monitoring.coreos.com/v1 \
|
||||||
|
--values my-argocd-values.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
If you use other tools like [Kustomize](https://kubectl.docs.kubernetes.io/references/kustomize/builtins/) or [helmfile](https://helmfile.readthedocs.io/en/latest/#configuration) to render it, there are equivalent options.
|
||||||
|
|
||||||
|
Example with Kustomize:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# kustomization.yaml
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
helmCharts:
|
||||||
|
- name: argo-cd
|
||||||
|
repo: oci://ghcr.io/argoproj/argo-helm
|
||||||
|
version: x.y.z
|
||||||
|
releaseName: argocd
|
||||||
|
apiVersions:
|
||||||
|
- monitoring.coreos.com/v1
|
||||||
|
valuesFile: my-argocd-values.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
Example with helmfile:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# helmfile.yaml
|
||||||
|
repositories:
|
||||||
|
- name: argo
|
||||||
|
url: https://argoproj.github.io/argo-helm
|
||||||
|
|
||||||
|
apiVersions:
|
||||||
|
- monitoring.coreos.com/v1
|
||||||
|
|
||||||
|
releases:
|
||||||
|
- name: argocd
|
||||||
|
namespace: argocd
|
||||||
|
chart: argo/argo-cd
|
||||||
|
values:
|
||||||
|
- my-argocd-values.yaml
|
||||||
|
```
|
||||||
|
|
|
@ -6,7 +6,7 @@ Each helm chart currently supports the designated application version in the Cha
|
||||||
|
|
||||||
* [Security Policy for Argo Workflows](https://github.com/argoproj/argo-workflows/blob/master/SECURITY.md)
|
* [Security Policy for Argo Workflows](https://github.com/argoproj/argo-workflows/blob/master/SECURITY.md)
|
||||||
* [Security Policy for Argo Events](https://github.com/argoproj/argo-events/blob/master/SECURITY.md)
|
* [Security Policy for Argo Events](https://github.com/argoproj/argo-events/blob/master/SECURITY.md)
|
||||||
* [Security Policy for Argo Rollouts](https://github.com/argoproj/argo-rollouts/blob/master/docs/security.md)
|
* [Security Policy for Argo Rollouts](https://github.com/argoproj/argo-rollouts/blob/master/docs/security/security.md)
|
||||||
* [Security Policy for Argo CD](https://github.com/argoproj/argo-cd/blob/master/SECURITY.md)
|
* [Security Policy for Argo CD](https://github.com/argoproj/argo-cd/blob/master/SECURITY.md)
|
||||||
* [Security Policy for Argo CD Image Updater](https://github.com/argoproj-labs/argocd-image-updater/blob/master/SECURITY.md)
|
* [Security Policy for Argo CD Image Updater](https://github.com/argoproj-labs/argocd-image-updater/blob/master/SECURITY.md)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: redis-ha
|
- name: redis-ha
|
||||||
repository: https://dandydeveloper.github.io/charts/
|
repository: https://dandydeveloper.github.io/charts/
|
||||||
version: 4.26.1
|
version: 4.29.4
|
||||||
digest: sha256:d72c308ab0eef4233e25bfc3f8fc97cf9b02a9c5d0186ea89e2f8fb332cb9c41
|
digest: sha256:1257baf1c5e0db036af659d44095223e28ac0c9ec1ed8300a02d5def2281c9c7
|
||||||
generated: "2024-02-18T19:42:53.135599+02:00"
|
generated: "2024-11-13T09:07:36.494128+09:00"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: v2.10.7
|
appVersion: v2.14.2
|
||||||
kubeVersion: ">=1.23.0-0"
|
kubeVersion: ">=1.25.0-0"
|
||||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 6.7.15
|
version: 7.8.3
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -18,7 +18,7 @@ maintainers:
|
||||||
url: https://argoproj.github.io/
|
url: https://argoproj.github.io/
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: redis-ha
|
- name: redis-ha
|
||||||
version: 4.26.1
|
version: 4.29.4
|
||||||
repository: https://dandydeveloper.github.io/charts/
|
repository: https://dandydeveloper.github.io/charts/
|
||||||
condition: redis-ha.enabled
|
condition: redis-ha.enabled
|
||||||
annotations:
|
annotations:
|
||||||
|
@ -27,4 +27,4 @@ annotations:
|
||||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: changed
|
||||||
description: Pre-set statusbadge.url to global.domain when statusbadge is enabled
|
description: Bump dex version to v2.42.0
|
||||||
|
|
|
@ -191,7 +191,7 @@ server:
|
||||||
alb.ingress.kubernetes.io/scheme: internal
|
alb.ingress.kubernetes.io/scheme: internal
|
||||||
alb.ingress.kubernetes.io/target-type: ip
|
alb.ingress.kubernetes.io/target-type: ip
|
||||||
alb.ingress.kubernetes.io/backend-protocol: HTTP
|
alb.ingress.kubernetes.io/backend-protocol: HTTP
|
||||||
alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS":80}, {"HTTPS":443}]'
|
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP":80}, {"HTTPS":443}]'
|
||||||
alb.ingress.kubernetes.io/ssl-redirect: '443'
|
alb.ingress.kubernetes.io/ssl-redirect: '443'
|
||||||
aws:
|
aws:
|
||||||
serviceType: ClusterIP # <- Used with target-type: ip
|
serviceType: ClusterIP # <- Used with target-type: ip
|
||||||
|
@ -278,6 +278,67 @@ For full list of changes please check ArtifactHub [changelog].
|
||||||
|
|
||||||
Highlighted versions provide information about additional steps that should be performed by user when upgrading to newer version.
|
Highlighted versions provide information about additional steps that should be performed by user when upgrading to newer version.
|
||||||
|
|
||||||
|
### 7.0.0
|
||||||
|
|
||||||
|
We changed the type of `.Values.configs.clusterCredentials` from `list` to `object`.
|
||||||
|
If you used the value, please migrate like below.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# before
|
||||||
|
configs:
|
||||||
|
clusterCredentials:
|
||||||
|
- mycluster:
|
||||||
|
server: https://mycluster.example.com
|
||||||
|
labels: {}
|
||||||
|
annotations: {}
|
||||||
|
# ...
|
||||||
|
|
||||||
|
# after
|
||||||
|
configs:
|
||||||
|
clusterCredentials:
|
||||||
|
mycluster:
|
||||||
|
server: https://mycluster.example.com
|
||||||
|
labels: {}
|
||||||
|
annotations: {}
|
||||||
|
# ...
|
||||||
|
```
|
||||||
|
|
||||||
|
### 6.10.0
|
||||||
|
|
||||||
|
This version introduces authentication for Redis to mitigate GHSA-9766-5277-j5hr.
|
||||||
|
|
||||||
|
#### How to rotate Redis secret?
|
||||||
|
|
||||||
|
Upstream steps in the [FAQ] are not enough, since we chose a different approach.
|
||||||
|
(We use a Kubernetes Job with [Chart Hooks] to create the auth secret `argocd-redis`.)
|
||||||
|
|
||||||
|
Steps to rotate the secret when using the helm chart (bold step is additional to upstream):
|
||||||
|
* Delete `argocd-redis` secret in the namespace where Argo CD is installed.
|
||||||
|
```bash
|
||||||
|
kubectl delete secret argocd-redis -n <argocd namespace>
|
||||||
|
```
|
||||||
|
* **Perform a helm upgrade**
|
||||||
|
```bash
|
||||||
|
helm upgrade argocd argo/argo-cd --reuse-values --wait
|
||||||
|
```
|
||||||
|
* If you are running Redis in HA mode, restart Redis in HA.
|
||||||
|
```bash
|
||||||
|
kubectl rollout restart deployment argocd-redis-ha-haproxy
|
||||||
|
kubectl rollout restart statefulset argocd-redis-ha-server
|
||||||
|
```
|
||||||
|
* If you are running Redis in non-HA mode, restart Redis.
|
||||||
|
```bash
|
||||||
|
kubectl rollout restart deployment argocd-redis
|
||||||
|
```
|
||||||
|
* Restart other components.
|
||||||
|
```bash
|
||||||
|
kubectl rollout restart deployment argocd-server argocd-repo-server
|
||||||
|
kubectl rollout restart statefulset argocd-application-controller
|
||||||
|
```
|
||||||
|
|
||||||
|
### 6.9.0
|
||||||
|
ApplicationSet controller is always created to follow [upstream's manifest](https://github.com/argoproj/argo-cd/blob/v2.11.0/manifests/core-install/kustomization.yaml#L9).
|
||||||
|
|
||||||
### 6.4.0
|
### 6.4.0
|
||||||
|
|
||||||
Added support for application controller dynamic cluster distribution.
|
Added support for application controller dynamic cluster distribution.
|
||||||
|
@ -586,7 +647,7 @@ server:
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
- Kubernetes: `>=1.23.0-0`
|
- Kubernetes: `>=1.25.0-0`
|
||||||
- We align with [Amazon EKS calendar][EKS EoL] because there are many AWS users and it's a conservative approach.
|
- We align with [Amazon EKS calendar][EKS EoL] because there are many AWS users and it's a conservative approach.
|
||||||
- Please check [Support Matrix of Argo CD][Kubernetes Compatibility Matrix] for official info.
|
- Please check [Support Matrix of Argo CD][Kubernetes Compatibility Matrix] for official info.
|
||||||
- Helm v3.0.0+
|
- Helm v3.0.0+
|
||||||
|
@ -619,6 +680,7 @@ NAME: my-release
|
||||||
| fullnameOverride | string | `""` | String to fully override `"argo-cd.fullname"` |
|
| fullnameOverride | string | `""` | String to fully override `"argo-cd.fullname"` |
|
||||||
| kubeVersionOverride | string | `""` | Override the Kubernetes version, which is used to evaluate certain manifests |
|
| kubeVersionOverride | string | `""` | Override the Kubernetes version, which is used to evaluate certain manifests |
|
||||||
| nameOverride | string | `"argocd"` | Provide a name in place of `argocd` |
|
| nameOverride | string | `"argocd"` | Provide a name in place of `argocd` |
|
||||||
|
| namespaceOverride | string | `.Release.Namespace` | Override the namespace |
|
||||||
| openshift.enabled | bool | `false` | enables using arbitrary uid for argo repo server |
|
| openshift.enabled | bool | `false` | enables using arbitrary uid for argo repo server |
|
||||||
|
|
||||||
## Global Configs
|
## Global Configs
|
||||||
|
@ -634,6 +696,8 @@ NAME: my-release
|
||||||
| global.deploymentAnnotations | object | `{}` | Annotations for the all deployed Deployments |
|
| global.deploymentAnnotations | object | `{}` | Annotations for the all deployed Deployments |
|
||||||
| global.deploymentStrategy | object | `{}` | Deployment strategy for the all deployed Deployments |
|
| global.deploymentStrategy | object | `{}` | Deployment strategy for the all deployed Deployments |
|
||||||
| global.domain | string | `"argocd.example.com"` | Default domain used by all components |
|
| global.domain | string | `"argocd.example.com"` | Default domain used by all components |
|
||||||
|
| global.dualStack.ipFamilies | list | `[]` | IP families that should be supported and the order in which they should be applied to ClusterIP as well. Can be IPv4 and/or IPv6. |
|
||||||
|
| global.dualStack.ipFamilyPolicy | string | `""` | IP family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) |
|
||||||
| global.env | list | `[]` | Environment variables to pass to all deployed Deployments |
|
| global.env | list | `[]` | Environment variables to pass to all deployed Deployments |
|
||||||
| global.hostAliases | list | `[]` | Mapping between IP and hostnames that will be injected as entries in the pod's hosts files |
|
| global.hostAliases | list | `[]` | Mapping between IP and hostnames that will be injected as entries in the pod's hosts files |
|
||||||
| global.image.imagePullPolicy | string | `"IfNotPresent"` | If defined, a imagePullPolicy applied to all Argo CD deployments |
|
| global.image.imagePullPolicy | string | `"IfNotPresent"` | If defined, a imagePullPolicy applied to all Argo CD deployments |
|
||||||
|
@ -644,11 +708,12 @@ NAME: my-release
|
||||||
| global.logging.level | string | `"info"` | Set the global logging level. One of: `debug`, `info`, `warn` or `error` |
|
| global.logging.level | string | `"info"` | Set the global logging level. One of: `debug`, `info`, `warn` or `error` |
|
||||||
| global.networkPolicy.create | bool | `false` | Create NetworkPolicy objects for all components |
|
| global.networkPolicy.create | bool | `false` | Create NetworkPolicy objects for all components |
|
||||||
| global.networkPolicy.defaultDenyIngress | bool | `false` | Default deny all ingress traffic |
|
| global.networkPolicy.defaultDenyIngress | bool | `false` | Default deny all ingress traffic |
|
||||||
| global.nodeSelector | object | `{}` | Default node selector for all components |
|
| global.nodeSelector | object | `{"kubernetes.io/os":"linux"}` | Default node selector for all components |
|
||||||
| global.podAnnotations | object | `{}` | Annotations for the all deployed pods |
|
| global.podAnnotations | object | `{}` | Annotations for the all deployed pods |
|
||||||
| global.podLabels | object | `{}` | Labels for the all deployed pods |
|
| global.podLabels | object | `{}` | Labels for the all deployed pods |
|
||||||
| global.priorityClassName | string | `""` | Default priority class for all components |
|
| global.priorityClassName | string | `""` | Default priority class for all components |
|
||||||
| global.revisionHistoryLimit | int | `3` | Number of old deployment ReplicaSets to retain. The rest will be garbage collected. |
|
| global.revisionHistoryLimit | int | `3` | Number of old deployment ReplicaSets to retain. The rest will be garbage collected. |
|
||||||
|
| global.runtimeClassName | string | `""` | Runtime class name for all components |
|
||||||
| global.securityContext | object | `{}` (See [values.yaml]) | Toggle and define pod-level security context. |
|
| global.securityContext | object | `{}` (See [values.yaml]) | Toggle and define pod-level security context. |
|
||||||
| global.statefulsetAnnotations | object | `{}` | Annotations for the all deployed Statefulsets |
|
| global.statefulsetAnnotations | object | `{}` | Annotations for the all deployed Statefulsets |
|
||||||
| global.tolerations | list | `[]` | Default tolerations for all components |
|
| global.tolerations | list | `[]` | Default tolerations for all components |
|
||||||
|
@ -658,9 +723,10 @@ NAME: my-release
|
||||||
|
|
||||||
| Key | Type | Default | Description |
|
| Key | Type | Default | Description |
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| configs.clusterCredentials | list | `[]` (See [values.yaml]) | Provide one or multiple [external cluster credentials] |
|
| configs.clusterCredentials | object | `{}` (See [values.yaml]) | Provide one or multiple [external cluster credentials] |
|
||||||
| configs.cm."admin.enabled" | bool | `true` | Enable local admin user |
|
| configs.cm."admin.enabled" | bool | `true` | Enable local admin user |
|
||||||
| configs.cm."application.instanceLabelKey" | string | `"argocd.argoproj.io/instance"` | The name of tracking label used by Argo CD for resource pruning |
|
| configs.cm."application.instanceLabelKey" | string | `"argocd.argoproj.io/instance"` | The name of tracking label used by Argo CD for resource pruning |
|
||||||
|
| configs.cm."application.sync.impersonation.enabled" | bool | `false` | Enable control of the service account used for the sync operation (alpha) |
|
||||||
| configs.cm."exec.enabled" | bool | `false` | Enable exec feature in Argo UI |
|
| configs.cm."exec.enabled" | bool | `false` | Enable exec feature in Argo UI |
|
||||||
| configs.cm."server.rbac.log.enforce.enable" | bool | `false` | Enable logs RBAC enforcement |
|
| configs.cm."server.rbac.log.enforce.enable" | bool | `false` | Enable logs RBAC enforcement |
|
||||||
| configs.cm."statusbadge.enabled" | bool | `false` | Enable Status Badge |
|
| configs.cm."statusbadge.enabled" | bool | `false` | Enable Status Badge |
|
||||||
|
@ -677,7 +743,9 @@ NAME: my-release
|
||||||
| configs.gpg.keys | object | `{}` (See [values.yaml]) | [GnuPG] public keys to add to the keyring |
|
| configs.gpg.keys | object | `{}` (See [values.yaml]) | [GnuPG] public keys to add to the keyring |
|
||||||
| configs.params."application.namespaces" | string | `""` | Enables [Applications in any namespace] |
|
| configs.params."application.namespaces" | string | `""` | Enables [Applications in any namespace] |
|
||||||
| configs.params."applicationsetcontroller.enable.progressive.syncs" | bool | `false` | Enables use of the Progressive Syncs capability |
|
| configs.params."applicationsetcontroller.enable.progressive.syncs" | bool | `false` | Enables use of the Progressive Syncs capability |
|
||||||
|
| configs.params."applicationsetcontroller.namespaces" | string | `""` (default is only the ns where the controller is installed) | A list of glob patterns specifying where to look for ApplicationSet resources. (e.g. `"argocd,argocd-appsets-*"`) |
|
||||||
| configs.params."applicationsetcontroller.policy" | string | `"sync"` | Modify how application is synced between the generator and the cluster. One of: `sync`, `create-only`, `create-update`, `create-delete` |
|
| configs.params."applicationsetcontroller.policy" | string | `"sync"` | Modify how application is synced between the generator and the cluster. One of: `sync`, `create-only`, `create-update`, `create-delete` |
|
||||||
|
| configs.params."controller.ignore.normalizer.jq.timeout" | string | `"1s"` | JQ Path expression timeout |
|
||||||
| configs.params."controller.operation.processors" | int | `10` | Number of application operation processors |
|
| configs.params."controller.operation.processors" | int | `10` | Number of application operation processors |
|
||||||
| configs.params."controller.repo.server.timeout.seconds" | int | `60` | Repo server RPC call timeout seconds. |
|
| configs.params."controller.repo.server.timeout.seconds" | int | `60` | Repo server RPC call timeout seconds. |
|
||||||
| configs.params."controller.self.heal.timeout.seconds" | int | `5` | Specifies timeout between application self heal attempts |
|
| configs.params."controller.self.heal.timeout.seconds" | int | `5` | Specifies timeout between application self heal attempts |
|
||||||
|
@ -687,6 +755,7 @@ NAME: my-release
|
||||||
| configs.params."server.basehref" | string | `"/"` | Value for base href in index.html. Used if Argo CD is running behind reverse proxy under subpath different from / |
|
| configs.params."server.basehref" | string | `"/"` | Value for base href in index.html. Used if Argo CD is running behind reverse proxy under subpath different from / |
|
||||||
| configs.params."server.disable.auth" | bool | `false` | Disable Argo CD RBAC for user authentication |
|
| configs.params."server.disable.auth" | bool | `false` | Disable Argo CD RBAC for user authentication |
|
||||||
| configs.params."server.enable.gzip" | bool | `true` | Enable GZIP compression |
|
| configs.params."server.enable.gzip" | bool | `true` | Enable GZIP compression |
|
||||||
|
| configs.params."server.enable.proxy.extension" | bool | `false` | Enable proxy extension feature. (proxy extension is in Alpha phase) |
|
||||||
| configs.params."server.insecure" | bool | `false` | Run server without TLS |
|
| configs.params."server.insecure" | bool | `false` | Run server without TLS |
|
||||||
| configs.params."server.rootpath" | string | `""` | Used if Argo CD is running behind reverse proxy under subpath different from / |
|
| configs.params."server.rootpath" | string | `""` | Used if Argo CD is running behind reverse proxy under subpath different from / |
|
||||||
| configs.params."server.staticassets" | string | `"/shared/app"` | Directory path that contains additional static assets |
|
| configs.params."server.staticassets" | string | `"/shared/app"` | Directory path that contains additional static assets |
|
||||||
|
@ -715,11 +784,13 @@ NAME: my-release
|
||||||
| configs.secret.gogsSecret | string | `""` | Shared secret for authenticating Gogs webhook events |
|
| configs.secret.gogsSecret | string | `""` | Shared secret for authenticating Gogs webhook events |
|
||||||
| configs.secret.labels | object | `{}` | Labels to be added to argocd-secret |
|
| configs.secret.labels | object | `{}` | Labels to be added to argocd-secret |
|
||||||
| configs.ssh.annotations | object | `{}` | Annotations to be added to argocd-ssh-known-hosts-cm configmap |
|
| configs.ssh.annotations | object | `{}` | Annotations to be added to argocd-ssh-known-hosts-cm configmap |
|
||||||
|
| configs.ssh.create | bool | `true` | Specifies if the argocd-ssh-known-hosts-cm configmap should be created by Helm. |
|
||||||
| configs.ssh.extraHosts | string | `""` | Additional known hosts for private repositories |
|
| configs.ssh.extraHosts | string | `""` | Additional known hosts for private repositories |
|
||||||
| configs.ssh.knownHosts | string | See [values.yaml] | Known hosts to be added to the known host list by default. |
|
| configs.ssh.knownHosts | string | See [values.yaml] | Known hosts to be added to the known host list by default. |
|
||||||
| configs.styles | string | `""` (See [values.yaml]) | Define custom [CSS styles] for your argo instance. This setting will automatically mount the provided CSS and reference it in the argo configuration. |
|
| configs.styles | string | `""` (See [values.yaml]) | Define custom [CSS styles] for your argo instance. This setting will automatically mount the provided CSS and reference it in the argo configuration. |
|
||||||
| configs.tls.annotations | object | `{}` | Annotations to be added to argocd-tls-certs-cm configmap |
|
| configs.tls.annotations | object | `{}` | Annotations to be added to argocd-tls-certs-cm configmap |
|
||||||
| configs.tls.certificates | object | `{}` (See [values.yaml]) | TLS certificates for Git repositories |
|
| configs.tls.certificates | object | `{}` (See [values.yaml]) | TLS certificates for Git repositories |
|
||||||
|
| configs.tls.create | bool | `true` | Specifies if the argocd-tls-certs-cm configmap should be created by Helm. |
|
||||||
|
|
||||||
## Argo CD Controller
|
## Argo CD Controller
|
||||||
|
|
||||||
|
@ -766,6 +837,7 @@ NAME: my-release
|
||||||
| controller.metrics.serviceMonitor.additionalLabels | object | `{}` | Prometheus ServiceMonitor labels |
|
| controller.metrics.serviceMonitor.additionalLabels | object | `{}` | Prometheus ServiceMonitor labels |
|
||||||
| controller.metrics.serviceMonitor.annotations | object | `{}` | Prometheus ServiceMonitor annotations |
|
| controller.metrics.serviceMonitor.annotations | object | `{}` | Prometheus ServiceMonitor annotations |
|
||||||
| controller.metrics.serviceMonitor.enabled | bool | `false` | Enable a prometheus ServiceMonitor |
|
| controller.metrics.serviceMonitor.enabled | bool | `false` | Enable a prometheus ServiceMonitor |
|
||||||
|
| controller.metrics.serviceMonitor.honorLabels | bool | `false` | When true, honorLabels preserves the metric’s labels when they collide with the target’s labels. |
|
||||||
| controller.metrics.serviceMonitor.interval | string | `"30s"` | Prometheus ServiceMonitor interval |
|
| controller.metrics.serviceMonitor.interval | string | `"30s"` | Prometheus ServiceMonitor interval |
|
||||||
| controller.metrics.serviceMonitor.metricRelabelings | list | `[]` | Prometheus [MetricRelabelConfigs] to apply to samples before ingestion |
|
| controller.metrics.serviceMonitor.metricRelabelings | list | `[]` | Prometheus [MetricRelabelConfigs] to apply to samples before ingestion |
|
||||||
| controller.metrics.serviceMonitor.namespace | string | `""` | Prometheus ServiceMonitor namespace |
|
| controller.metrics.serviceMonitor.namespace | string | `""` | Prometheus ServiceMonitor namespace |
|
||||||
|
@ -791,6 +863,7 @@ NAME: my-release
|
||||||
| controller.replicas | int | `1` | The number of application controller pods to run. Additional replicas will cause sharding of managed clusters across number of replicas. |
|
| controller.replicas | int | `1` | The number of application controller pods to run. Additional replicas will cause sharding of managed clusters across number of replicas. |
|
||||||
| controller.resources | object | `{}` | Resource limits and requests for the application controller pods |
|
| controller.resources | object | `{}` | Resource limits and requests for the application controller pods |
|
||||||
| controller.revisionHistoryLimit | int | `5` | Maximum number of controller revisions that will be maintained in StatefulSet history |
|
| controller.revisionHistoryLimit | int | `5` | Maximum number of controller revisions that will be maintained in StatefulSet history |
|
||||||
|
| controller.runtimeClassName | string | `""` (defaults to global.runtimeClassName) | Runtime class name for the application controller |
|
||||||
| controller.serviceAccount.annotations | object | `{}` | Annotations applied to created service account |
|
| controller.serviceAccount.annotations | object | `{}` | Annotations applied to created service account |
|
||||||
| controller.serviceAccount.automountServiceAccountToken | bool | `true` | Automount API credentials for the Service Account |
|
| controller.serviceAccount.automountServiceAccountToken | bool | `true` | Automount API credentials for the Service Account |
|
||||||
| controller.serviceAccount.create | bool | `true` | Create a service account for the application controller |
|
| controller.serviceAccount.create | bool | `true` | Create a service account for the application controller |
|
||||||
|
@ -859,6 +932,7 @@ NAME: my-release
|
||||||
| repoServer.metrics.serviceMonitor.additionalLabels | object | `{}` | Prometheus ServiceMonitor labels |
|
| repoServer.metrics.serviceMonitor.additionalLabels | object | `{}` | Prometheus ServiceMonitor labels |
|
||||||
| repoServer.metrics.serviceMonitor.annotations | object | `{}` | Prometheus ServiceMonitor annotations |
|
| repoServer.metrics.serviceMonitor.annotations | object | `{}` | Prometheus ServiceMonitor annotations |
|
||||||
| repoServer.metrics.serviceMonitor.enabled | bool | `false` | Enable a prometheus ServiceMonitor |
|
| repoServer.metrics.serviceMonitor.enabled | bool | `false` | Enable a prometheus ServiceMonitor |
|
||||||
|
| repoServer.metrics.serviceMonitor.honorLabels | bool | `false` | When true, honorLabels preserves the metric’s labels when they collide with the target’s labels. |
|
||||||
| repoServer.metrics.serviceMonitor.interval | string | `"30s"` | Prometheus ServiceMonitor interval |
|
| repoServer.metrics.serviceMonitor.interval | string | `"30s"` | Prometheus ServiceMonitor interval |
|
||||||
| repoServer.metrics.serviceMonitor.metricRelabelings | list | `[]` | Prometheus [MetricRelabelConfigs] to apply to samples before ingestion |
|
| repoServer.metrics.serviceMonitor.metricRelabelings | list | `[]` | Prometheus [MetricRelabelConfigs] to apply to samples before ingestion |
|
||||||
| repoServer.metrics.serviceMonitor.namespace | string | `""` | Prometheus ServiceMonitor namespace |
|
| repoServer.metrics.serviceMonitor.namespace | string | `""` | Prometheus ServiceMonitor namespace |
|
||||||
|
@ -885,6 +959,7 @@ NAME: my-release
|
||||||
| repoServer.readinessProbe.timeoutSeconds | int | `1` | Number of seconds after which the [probe] times out |
|
| repoServer.readinessProbe.timeoutSeconds | int | `1` | Number of seconds after which the [probe] times out |
|
||||||
| repoServer.replicas | int | `1` | The number of repo server pods to run |
|
| repoServer.replicas | int | `1` | The number of repo server pods to run |
|
||||||
| repoServer.resources | object | `{}` | Resource limits and requests for the repo server pods |
|
| repoServer.resources | object | `{}` | Resource limits and requests for the repo server pods |
|
||||||
|
| repoServer.runtimeClassName | string | `""` (defaults to global.runtimeClassName) | Runtime class name for the repo server |
|
||||||
| repoServer.service.annotations | object | `{}` | Repo server service annotations |
|
| repoServer.service.annotations | object | `{}` | Repo server service annotations |
|
||||||
| repoServer.service.labels | object | `{}` | Repo server service labels |
|
| repoServer.service.labels | object | `{}` | Repo server service labels |
|
||||||
| repoServer.service.port | int | `8081` | Repo server service port |
|
| repoServer.service.port | int | `8081` | Repo server service port |
|
||||||
|
@ -927,7 +1002,7 @@ NAME: my-release
|
||||||
| server.certificate.privateKey.rotationPolicy | string | `"Never"` | Rotation policy of private key when certificate is re-issued. Either: `Never` or `Always` |
|
| server.certificate.privateKey.rotationPolicy | string | `"Never"` | Rotation policy of private key when certificate is re-issued. Either: `Never` or `Always` |
|
||||||
| server.certificate.privateKey.size | int | `2048` | Key bit size of the private key. If algorithm is set to `Ed25519`, size is ignored. |
|
| server.certificate.privateKey.size | int | `2048` | Key bit size of the private key. If algorithm is set to `Ed25519`, size is ignored. |
|
||||||
| server.certificate.renewBefore | string | `""` (defaults to 360h = 15d if not specified) | How long before the expiry a certificate should be renewed. |
|
| server.certificate.renewBefore | string | `""` (defaults to 360h = 15d if not specified) | How long before the expiry a certificate should be renewed. |
|
||||||
| server.certificate.secretName | string | `"argocd-server-tls"` | The name of the Secret that will be automatically created and managed by this Certificate resource |
|
| server.certificate.secretTemplateAnnotations | object | `{}` | Annotations that allow the certificate to be composed from data residing in existing Kubernetes Resources |
|
||||||
| server.certificate.usages | list | `[]` | Usages for the certificate |
|
| server.certificate.usages | list | `[]` | Usages for the certificate |
|
||||||
| server.certificateSecret.annotations | object | `{}` | Annotations to be added to argocd-server-tls secret |
|
| server.certificateSecret.annotations | object | `{}` | Annotations to be added to argocd-server-tls secret |
|
||||||
| server.certificateSecret.crt | string | `""` | Certificate data |
|
| server.certificateSecret.crt | string | `""` | Certificate data |
|
||||||
|
@ -951,7 +1026,7 @@ NAME: my-release
|
||||||
| server.extensions.extensionList | list | `[]` (See [values.yaml]) | Extensions for Argo CD |
|
| server.extensions.extensionList | list | `[]` (See [values.yaml]) | Extensions for Argo CD |
|
||||||
| server.extensions.image.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Image pull policy for extensions |
|
| server.extensions.image.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Image pull policy for extensions |
|
||||||
| server.extensions.image.repository | string | `"quay.io/argoprojlabs/argocd-extension-installer"` | Repository to use for extension installer image |
|
| server.extensions.image.repository | string | `"quay.io/argoprojlabs/argocd-extension-installer"` | Repository to use for extension installer image |
|
||||||
| server.extensions.image.tag | string | `"v0.0.5"` | Tag to use for extension installer image |
|
| server.extensions.image.tag | string | `"v0.0.8"` | Tag to use for extension installer image |
|
||||||
| server.extensions.resources | object | `{}` | Resource limits and requests for the argocd-extensions container |
|
| server.extensions.resources | object | `{}` | Resource limits and requests for the argocd-extensions container |
|
||||||
| server.extraArgs | list | `[]` | Additional command line arguments to pass to Argo CD server |
|
| server.extraArgs | list | `[]` | Additional command line arguments to pass to Argo CD server |
|
||||||
| server.extraContainers | list | `[]` | Additional containers to be added to the server pod |
|
| server.extraContainers | list | `[]` | Additional containers to be added to the server pod |
|
||||||
|
@ -1008,6 +1083,7 @@ NAME: my-release
|
||||||
| server.metrics.serviceMonitor.additionalLabels | object | `{}` | Prometheus ServiceMonitor labels |
|
| server.metrics.serviceMonitor.additionalLabels | object | `{}` | Prometheus ServiceMonitor labels |
|
||||||
| server.metrics.serviceMonitor.annotations | object | `{}` | Prometheus ServiceMonitor annotations |
|
| server.metrics.serviceMonitor.annotations | object | `{}` | Prometheus ServiceMonitor annotations |
|
||||||
| server.metrics.serviceMonitor.enabled | bool | `false` | Enable a prometheus ServiceMonitor |
|
| server.metrics.serviceMonitor.enabled | bool | `false` | Enable a prometheus ServiceMonitor |
|
||||||
|
| server.metrics.serviceMonitor.honorLabels | bool | `false` | When true, honorLabels preserves the metric’s labels when they collide with the target’s labels. |
|
||||||
| server.metrics.serviceMonitor.interval | string | `"30s"` | Prometheus ServiceMonitor interval |
|
| server.metrics.serviceMonitor.interval | string | `"30s"` | Prometheus ServiceMonitor interval |
|
||||||
| server.metrics.serviceMonitor.metricRelabelings | list | `[]` | Prometheus [MetricRelabelConfigs] to apply to samples before ingestion |
|
| server.metrics.serviceMonitor.metricRelabelings | list | `[]` | Prometheus [MetricRelabelConfigs] to apply to samples before ingestion |
|
||||||
| server.metrics.serviceMonitor.namespace | string | `""` | Prometheus ServiceMonitor namespace |
|
| server.metrics.serviceMonitor.namespace | string | `""` | Prometheus ServiceMonitor namespace |
|
||||||
|
@ -1038,10 +1114,12 @@ NAME: my-release
|
||||||
| server.route.hostname | string | `""` | Hostname of OpenShift Route |
|
| server.route.hostname | string | `""` | Hostname of OpenShift Route |
|
||||||
| server.route.termination_policy | string | `"None"` | Termination policy of Openshift Route |
|
| server.route.termination_policy | string | `"None"` | Termination policy of Openshift Route |
|
||||||
| server.route.termination_type | string | `"passthrough"` | Termination type of Openshift Route |
|
| server.route.termination_type | string | `"passthrough"` | Termination type of Openshift Route |
|
||||||
|
| server.runtimeClassName | string | `""` (defaults to global.runtimeClassName) | Runtime class name for the Argo CD server |
|
||||||
| server.service.annotations | object | `{}` | Server service annotations |
|
| server.service.annotations | object | `{}` | Server service annotations |
|
||||||
| server.service.externalIPs | list | `[]` | Server service external IPs |
|
| server.service.externalIPs | list | `[]` | Server service external IPs |
|
||||||
| server.service.externalTrafficPolicy | string | `""` | Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints |
|
| server.service.externalTrafficPolicy | string | `"Cluster"` | Denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints |
|
||||||
| server.service.labels | object | `{}` | Server service labels |
|
| server.service.labels | object | `{}` | Server service labels |
|
||||||
|
| server.service.loadBalancerClass | string | `""` | The class of the load balancer implementation |
|
||||||
| server.service.loadBalancerIP | string | `""` | LoadBalancer will get created with the IP specified in this field |
|
| server.service.loadBalancerIP | string | `""` | LoadBalancer will get created with the IP specified in this field |
|
||||||
| server.service.loadBalancerSourceRanges | list | `[]` | Source IP ranges to allow access to service from |
|
| server.service.loadBalancerSourceRanges | list | `[]` | Source IP ranges to allow access to service from |
|
||||||
| server.service.nodePortHttp | int | `30080` | Server service http port for NodePort service type (only if `server.service.type` is set to "NodePort") |
|
| server.service.nodePortHttp | int | `30080` | Server service http port for NodePort service type (only if `server.service.type` is set to "NodePort") |
|
||||||
|
@ -1049,8 +1127,9 @@ NAME: my-release
|
||||||
| server.service.servicePortHttp | int | `80` | Server service http port |
|
| server.service.servicePortHttp | int | `80` | Server service http port |
|
||||||
| server.service.servicePortHttpName | string | `"http"` | Server service http port name, can be used to route traffic via istio |
|
| server.service.servicePortHttpName | string | `"http"` | Server service http port name, can be used to route traffic via istio |
|
||||||
| server.service.servicePortHttps | int | `443` | Server service https port |
|
| server.service.servicePortHttps | int | `443` | Server service https port |
|
||||||
|
| server.service.servicePortHttpsAppProtocol | string | `""` | Server service https port appProtocol |
|
||||||
| server.service.servicePortHttpsName | string | `"https"` | Server service https port name, can be used to route traffic via istio |
|
| server.service.servicePortHttpsName | string | `"https"` | Server service https port name, can be used to route traffic via istio |
|
||||||
| server.service.sessionAffinity | string | `""` | Used to maintain session affinity. Supports `ClientIP` and `None` |
|
| server.service.sessionAffinity | string | `"None"` | Used to maintain session affinity. Supports `ClientIP` and `None` |
|
||||||
| server.service.type | string | `"ClusterIP"` | Server service type |
|
| server.service.type | string | `"ClusterIP"` | Server service type |
|
||||||
| server.serviceAccount.annotations | object | `{}` | Annotations applied to created service account |
|
| server.serviceAccount.annotations | object | `{}` | Annotations applied to created service account |
|
||||||
| server.serviceAccount.automountServiceAccountToken | bool | `true` | Automount API credentials for the Service Account |
|
| server.serviceAccount.automountServiceAccountToken | bool | `true` | Automount API credentials for the Service Account |
|
||||||
|
@ -1091,7 +1170,7 @@ NAME: my-release
|
||||||
| dex.extraContainers | list | `[]` | Additional containers to be added to the dex pod |
|
| dex.extraContainers | list | `[]` | Additional containers to be added to the dex pod |
|
||||||
| dex.image.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Dex imagePullPolicy |
|
| dex.image.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Dex imagePullPolicy |
|
||||||
| dex.image.repository | string | `"ghcr.io/dexidp/dex"` | Dex image repository |
|
| dex.image.repository | string | `"ghcr.io/dexidp/dex"` | Dex image repository |
|
||||||
| dex.image.tag | string | `"v2.38.0"` | Dex image tag |
|
| dex.image.tag | string | `"v2.42.0"` | Dex image tag |
|
||||||
| dex.imagePullSecrets | list | `[]` (defaults to global.imagePullSecrets) | Secrets with credentials to pull images from a private registry |
|
| dex.imagePullSecrets | list | `[]` (defaults to global.imagePullSecrets) | Secrets with credentials to pull images from a private registry |
|
||||||
| dex.initContainers | list | `[]` | Init containers to add to the dex pod |
|
| dex.initContainers | list | `[]` | Init containers to add to the dex pod |
|
||||||
| dex.initImage.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Argo CD init image imagePullPolicy |
|
| dex.initImage.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Argo CD init image imagePullPolicy |
|
||||||
|
@ -1116,6 +1195,7 @@ NAME: my-release
|
||||||
| dex.metrics.serviceMonitor.additionalLabels | object | `{}` | Prometheus ServiceMonitor labels |
|
| dex.metrics.serviceMonitor.additionalLabels | object | `{}` | Prometheus ServiceMonitor labels |
|
||||||
| dex.metrics.serviceMonitor.annotations | object | `{}` | Prometheus ServiceMonitor annotations |
|
| dex.metrics.serviceMonitor.annotations | object | `{}` | Prometheus ServiceMonitor annotations |
|
||||||
| dex.metrics.serviceMonitor.enabled | bool | `false` | Enable a prometheus ServiceMonitor |
|
| dex.metrics.serviceMonitor.enabled | bool | `false` | Enable a prometheus ServiceMonitor |
|
||||||
|
| dex.metrics.serviceMonitor.honorLabels | bool | `false` | When true, honorLabels preserves the metric’s labels when they collide with the target’s labels. |
|
||||||
| dex.metrics.serviceMonitor.interval | string | `"30s"` | Prometheus ServiceMonitor interval |
|
| dex.metrics.serviceMonitor.interval | string | `"30s"` | Prometheus ServiceMonitor interval |
|
||||||
| dex.metrics.serviceMonitor.metricRelabelings | list | `[]` | Prometheus [MetricRelabelConfigs] to apply to samples before ingestion |
|
| dex.metrics.serviceMonitor.metricRelabelings | list | `[]` | Prometheus [MetricRelabelConfigs] to apply to samples before ingestion |
|
||||||
| dex.metrics.serviceMonitor.namespace | string | `""` | Prometheus ServiceMonitor namespace |
|
| dex.metrics.serviceMonitor.namespace | string | `""` | Prometheus ServiceMonitor namespace |
|
||||||
|
@ -1143,6 +1223,7 @@ NAME: my-release
|
||||||
| dex.readinessProbe.successThreshold | int | `1` | Minimum consecutive successes for the [probe] to be considered successful after having failed |
|
| dex.readinessProbe.successThreshold | int | `1` | Minimum consecutive successes for the [probe] to be considered successful after having failed |
|
||||||
| dex.readinessProbe.timeoutSeconds | int | `1` | Number of seconds after which the [probe] times out |
|
| dex.readinessProbe.timeoutSeconds | int | `1` | Number of seconds after which the [probe] times out |
|
||||||
| dex.resources | object | `{}` | Resource limits and requests for dex |
|
| dex.resources | object | `{}` | Resource limits and requests for dex |
|
||||||
|
| dex.runtimeClassName | string | `""` (defaults to global.runtimeClassName) | Runtime class name for Dex |
|
||||||
| dex.serviceAccount.annotations | object | `{}` | Annotations applied to created service account |
|
| dex.serviceAccount.annotations | object | `{}` | Annotations applied to created service account |
|
||||||
| dex.serviceAccount.automountServiceAccountToken | bool | `true` | Automount API credentials for the Service Account |
|
| dex.serviceAccount.automountServiceAccountToken | bool | `true` | Automount API credentials for the Service Account |
|
||||||
| dex.serviceAccount.create | bool | `true` | Create dex service account |
|
| dex.serviceAccount.create | bool | `true` | Create dex service account |
|
||||||
|
@ -1180,7 +1261,7 @@ NAME: my-release
|
||||||
| redis.exporter.env | list | `[]` | Environment variables to pass to the Redis exporter |
|
| redis.exporter.env | list | `[]` | Environment variables to pass to the Redis exporter |
|
||||||
| redis.exporter.image.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Image pull policy for the redis-exporter |
|
| redis.exporter.image.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Image pull policy for the redis-exporter |
|
||||||
| redis.exporter.image.repository | string | `"public.ecr.aws/bitnami/redis-exporter"` | Repository to use for the redis-exporter |
|
| redis.exporter.image.repository | string | `"public.ecr.aws/bitnami/redis-exporter"` | Repository to use for the redis-exporter |
|
||||||
| redis.exporter.image.tag | string | `"1.58.0"` | Tag to use for the redis-exporter |
|
| redis.exporter.image.tag | string | `"1.67.0"` | Tag to use for the redis-exporter |
|
||||||
| redis.exporter.livenessProbe.enabled | bool | `false` | Enable Kubernetes liveness probe for Redis exporter |
|
| redis.exporter.livenessProbe.enabled | bool | `false` | Enable Kubernetes liveness probe for Redis exporter |
|
||||||
| redis.exporter.livenessProbe.failureThreshold | int | `5` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
| redis.exporter.livenessProbe.failureThreshold | int | `5` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
||||||
| redis.exporter.livenessProbe.initialDelaySeconds | int | `30` | Number of seconds after the container has started before [probe] is initiated |
|
| redis.exporter.livenessProbe.initialDelaySeconds | int | `30` | Number of seconds after the container has started before [probe] is initiated |
|
||||||
|
@ -1198,7 +1279,7 @@ NAME: my-release
|
||||||
| redis.extraContainers | list | `[]` | Additional containers to be added to the redis pod |
|
| redis.extraContainers | list | `[]` | Additional containers to be added to the redis pod |
|
||||||
| redis.image.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Redis image pull policy |
|
| redis.image.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Redis image pull policy |
|
||||||
| redis.image.repository | string | `"public.ecr.aws/docker/library/redis"` | Redis repository |
|
| redis.image.repository | string | `"public.ecr.aws/docker/library/redis"` | Redis repository |
|
||||||
| redis.image.tag | string | `"7.2.4-alpine"` | Redis tag |
|
| redis.image.tag | string | `"7.4.2-alpine"` | Redis tag |
|
||||||
| redis.imagePullSecrets | list | `[]` (defaults to global.imagePullSecrets) | Secrets with credentials to pull images from a private registry |
|
| redis.imagePullSecrets | list | `[]` (defaults to global.imagePullSecrets) | Secrets with credentials to pull images from a private registry |
|
||||||
| redis.initContainers | list | `[]` | Init containers to add to the redis pod |
|
| redis.initContainers | list | `[]` | Init containers to add to the redis pod |
|
||||||
| redis.livenessProbe.enabled | bool | `false` | Enable Kubernetes liveness probe for Redis server |
|
| redis.livenessProbe.enabled | bool | `false` | Enable Kubernetes liveness probe for Redis server |
|
||||||
|
@ -1217,6 +1298,7 @@ NAME: my-release
|
||||||
| redis.metrics.serviceMonitor.additionalLabels | object | `{}` | Prometheus ServiceMonitor labels |
|
| redis.metrics.serviceMonitor.additionalLabels | object | `{}` | Prometheus ServiceMonitor labels |
|
||||||
| redis.metrics.serviceMonitor.annotations | object | `{}` | Prometheus ServiceMonitor annotations |
|
| redis.metrics.serviceMonitor.annotations | object | `{}` | Prometheus ServiceMonitor annotations |
|
||||||
| redis.metrics.serviceMonitor.enabled | bool | `false` | Enable a prometheus ServiceMonitor |
|
| redis.metrics.serviceMonitor.enabled | bool | `false` | Enable a prometheus ServiceMonitor |
|
||||||
|
| redis.metrics.serviceMonitor.honorLabels | bool | `false` | When true, honorLabels preserves the metric’s labels when they collide with the target’s labels. |
|
||||||
| redis.metrics.serviceMonitor.interval | string | `"30s"` | Interval at which metrics should be scraped |
|
| redis.metrics.serviceMonitor.interval | string | `"30s"` | Interval at which metrics should be scraped |
|
||||||
| redis.metrics.serviceMonitor.metricRelabelings | list | `[]` | Prometheus [MetricRelabelConfigs] to apply to samples before ingestion |
|
| redis.metrics.serviceMonitor.metricRelabelings | list | `[]` | Prometheus [MetricRelabelConfigs] to apply to samples before ingestion |
|
||||||
| redis.metrics.serviceMonitor.namespace | string | `""` | Prometheus ServiceMonitor namespace |
|
| redis.metrics.serviceMonitor.namespace | string | `""` | Prometheus ServiceMonitor namespace |
|
||||||
|
@ -1241,6 +1323,7 @@ NAME: my-release
|
||||||
| redis.readinessProbe.successThreshold | int | `1` | Minimum consecutive successes for the [probe] to be considered successful after having failed |
|
| redis.readinessProbe.successThreshold | int | `1` | Minimum consecutive successes for the [probe] to be considered successful after having failed |
|
||||||
| redis.readinessProbe.timeoutSeconds | int | `15` | Number of seconds after which the [probe] times out |
|
| redis.readinessProbe.timeoutSeconds | int | `15` | Number of seconds after which the [probe] times out |
|
||||||
| redis.resources | object | `{}` | Resource limits and requests for redis |
|
| redis.resources | object | `{}` | Resource limits and requests for redis |
|
||||||
|
| redis.runtimeClassName | string | `""` (defaults to global.runtimeClassName) | Runtime class name for redis |
|
||||||
| redis.securityContext | object | See [values.yaml] | Redis pod-level security context |
|
| redis.securityContext | object | See [values.yaml] | Redis pod-level security context |
|
||||||
| redis.service.annotations | object | `{}` | Redis service annotations |
|
| redis.service.annotations | object | `{}` | Redis service annotations |
|
||||||
| redis.service.labels | object | `{}` | Additional redis service labels |
|
| redis.service.labels | object | `{}` | Additional redis service labels |
|
||||||
|
@ -1265,8 +1348,10 @@ The main options are listed here:
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| redis-ha.additionalAffinities | object | `{}` | Additional affinities to add to the Redis server pods. |
|
| redis-ha.additionalAffinities | object | `{}` | Additional affinities to add to the Redis server pods. |
|
||||||
| redis-ha.affinity | string | `""` | Assign custom [affinity] rules to the Redis pods. |
|
| redis-ha.affinity | string | `""` | Assign custom [affinity] rules to the Redis pods. |
|
||||||
|
| redis-ha.auth | bool | `true` | Configures redis-ha with AUTH |
|
||||||
| redis-ha.containerSecurityContext | object | See [values.yaml] | Redis HA statefulset container-level security context |
|
| redis-ha.containerSecurityContext | object | See [values.yaml] | Redis HA statefulset container-level security context |
|
||||||
| redis-ha.enabled | bool | `false` | Enables the Redis HA subchart and disables the custom Redis single node deployment |
|
| redis-ha.enabled | bool | `false` | Enables the Redis HA subchart and disables the custom Redis single node deployment |
|
||||||
|
| redis-ha.existingSecret | string | `"argocd-redis"` | Existing Secret to use for redis-ha authentication. By default the redis-secret-init Job is generating this Secret. |
|
||||||
| redis-ha.exporter.enabled | bool | `false` | Enable Prometheus redis-exporter sidecar |
|
| redis-ha.exporter.enabled | bool | `false` | Enable Prometheus redis-exporter sidecar |
|
||||||
| redis-ha.exporter.image | string | `"public.ecr.aws/bitnami/redis-exporter"` | Repository to use for the redis-exporter |
|
| redis-ha.exporter.image | string | `"public.ecr.aws/bitnami/redis-exporter"` | Repository to use for the redis-exporter |
|
||||||
| redis-ha.exporter.tag | string | `"1.58.0"` | Tag to use for the redis-exporter |
|
| redis-ha.exporter.tag | string | `"1.58.0"` | Tag to use for the redis-exporter |
|
||||||
|
@ -1280,7 +1365,7 @@ The main options are listed here:
|
||||||
| redis-ha.haproxy.tolerations | list | `[]` | [Tolerations] for use with node taints for haproxy pods. |
|
| redis-ha.haproxy.tolerations | list | `[]` | [Tolerations] for use with node taints for haproxy pods. |
|
||||||
| redis-ha.hardAntiAffinity | bool | `true` | Whether the Redis server pods should be forced to run on separate nodes. |
|
| redis-ha.hardAntiAffinity | bool | `true` | Whether the Redis server pods should be forced to run on separate nodes. |
|
||||||
| redis-ha.image.repository | string | `"public.ecr.aws/docker/library/redis"` | Redis repository |
|
| redis-ha.image.repository | string | `"public.ecr.aws/docker/library/redis"` | Redis repository |
|
||||||
| redis-ha.image.tag | string | `"7.2.4-alpine"` | Redis tag |
|
| redis-ha.image.tag | string | `"7.4.2-alpine"` | Redis tag |
|
||||||
| redis-ha.persistentVolume.enabled | bool | `false` | Configures persistence on Redis nodes |
|
| redis-ha.persistentVolume.enabled | bool | `false` | Configures persistence on Redis nodes |
|
||||||
| redis-ha.redis.config | object | See [values.yaml] | Any valid redis config options in this section will be applied to each server (see `redis-ha` chart) |
|
| redis-ha.redis.config | object | See [values.yaml] | Any valid redis config options in this section will be applied to each server (see `redis-ha` chart) |
|
||||||
| redis-ha.redis.config.save | string | `'""'` | Will save the DB if both the given number of seconds and the given number of write operations against the DB occurred. `""` is disabled |
|
| redis-ha.redis.config.save | string | `'""'` | Will save the DB if both the given number of seconds and the given number of write operations against the DB occurred. `""` is disabled |
|
||||||
|
@ -1303,13 +1388,41 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
|
|
||||||
| Key | Type | Default | Description |
|
| Key | Type | Default | Description |
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| externalRedis.existingSecret | string | `""` | The name of an existing secret with Redis credentials (must contain key `redis-password`). When it's set, the `externalRedis.password` parameter is ignored |
|
| externalRedis.existingSecret | string | `""` | The name of an existing secret with Redis (must contain key `redis-password`) and Sentinel credentials. When it's set, the `externalRedis.password` parameter is ignored |
|
||||||
| externalRedis.host | string | `""` | External Redis server host |
|
| externalRedis.host | string | `""` | External Redis server host |
|
||||||
| externalRedis.password | string | `""` | External Redis password |
|
| externalRedis.password | string | `""` | External Redis password |
|
||||||
| externalRedis.port | int | `6379` | External Redis server port |
|
| externalRedis.port | int | `6379` | External Redis server port |
|
||||||
| externalRedis.secretAnnotations | object | `{}` | External Redis Secret annotations |
|
| externalRedis.secretAnnotations | object | `{}` | External Redis Secret annotations |
|
||||||
| externalRedis.username | string | `""` | External Redis username |
|
| externalRedis.username | string | `""` | External Redis username |
|
||||||
|
|
||||||
|
### Redis secret-init
|
||||||
|
|
||||||
|
The helm chart deploys a Job to setup a random password which is used to secure the Redis. The Redis password is stored in Kubernetes secret `argocd-redis` with key `auth` in the namespace where Argo CD is installed.
|
||||||
|
If you use an External Redis (See Option 3 above), this Job is not deployed.
|
||||||
|
|
||||||
|
| Key | Type | Default | Description |
|
||||||
|
|-----|------|---------|-------------|
|
||||||
|
| redisSecretInit.affinity | object | `{}` | Assign custom [affinity] rules to the Redis secret-init Job |
|
||||||
|
| redisSecretInit.containerSecurityContext | object | See [values.yaml] | Application controller container-level security context |
|
||||||
|
| redisSecretInit.enabled | bool | `true` | Enable Redis secret initialization. If disabled, secret must be provisioned by alternative methods |
|
||||||
|
| redisSecretInit.image.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Image pull policy for the Redis secret-init Job |
|
||||||
|
| redisSecretInit.image.repository | string | `""` (defaults to global.image.repository) | Repository to use for the Redis secret-init Job |
|
||||||
|
| redisSecretInit.image.tag | string | `""` (defaults to global.image.tag) | Tag to use for the Redis secret-init Job |
|
||||||
|
| redisSecretInit.imagePullSecrets | list | `[]` (defaults to global.imagePullSecrets) | Secrets with credentials to pull images from a private registry |
|
||||||
|
| redisSecretInit.jobAnnotations | object | `{}` | Annotations to be added to the Redis secret-init Job |
|
||||||
|
| redisSecretInit.name | string | `"redis-secret-init"` | Redis secret-init name |
|
||||||
|
| redisSecretInit.nodeSelector | object | `{}` (defaults to global.nodeSelector) | Node selector to be added to the Redis secret-init Job |
|
||||||
|
| redisSecretInit.podAnnotations | object | `{}` | Annotations to be added to the Redis secret-init Job |
|
||||||
|
| redisSecretInit.podLabels | object | `{}` | Labels to be added to the Redis secret-init Job |
|
||||||
|
| redisSecretInit.priorityClassName | string | `""` (defaults to global.priorityClassName) | Priority class for Redis secret-init Job |
|
||||||
|
| redisSecretInit.resources | object | `{}` | Resource limits and requests for Redis secret-init Job |
|
||||||
|
| redisSecretInit.securityContext | object | `{}` | Redis secret-init Job pod-level security context |
|
||||||
|
| redisSecretInit.serviceAccount.annotations | object | `{}` | Annotations applied to created service account |
|
||||||
|
| redisSecretInit.serviceAccount.automountServiceAccountToken | bool | `true` | Automount API credentials for the Service Account |
|
||||||
|
| redisSecretInit.serviceAccount.create | bool | `true` | Create a service account for the redis pod |
|
||||||
|
| redisSecretInit.serviceAccount.name | string | `""` | Service account name for redis pod |
|
||||||
|
| redisSecretInit.tolerations | list | `[]` (defaults to global.tolerations) | Tolerations to be added to the Redis secret-init Job |
|
||||||
|
|
||||||
## ApplicationSet
|
## ApplicationSet
|
||||||
|
|
||||||
| Key | Type | Default | Description |
|
| Key | Type | Default | Description |
|
||||||
|
@ -1330,7 +1443,6 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| applicationSet.certificate.privateKey.rotationPolicy | string | `"Never"` | Rotation policy of private key when certificate is re-issued. Either: `Never` or `Always` |
|
| applicationSet.certificate.privateKey.rotationPolicy | string | `"Never"` | Rotation policy of private key when certificate is re-issued. Either: `Never` or `Always` |
|
||||||
| applicationSet.certificate.privateKey.size | int | `2048` | Key bit size of the private key. If algorithm is set to `Ed25519`, size is ignored. |
|
| applicationSet.certificate.privateKey.size | int | `2048` | Key bit size of the private key. If algorithm is set to `Ed25519`, size is ignored. |
|
||||||
| applicationSet.certificate.renewBefore | string | `""` (defaults to 360h = 15d if not specified) | How long before the expiry a certificate should be renewed. |
|
| applicationSet.certificate.renewBefore | string | `""` (defaults to 360h = 15d if not specified) | How long before the expiry a certificate should be renewed. |
|
||||||
| applicationSet.certificate.secretName | string | `"argocd-applicationset-controller-tls"` | The name of the Secret that will be automatically created and managed by this Certificate resource |
|
|
||||||
| applicationSet.containerPorts.metrics | int | `8080` | Metrics container port |
|
| applicationSet.containerPorts.metrics | int | `8080` | Metrics container port |
|
||||||
| applicationSet.containerPorts.probe | int | `8081` | Probe container port |
|
| applicationSet.containerPorts.probe | int | `8081` | Probe container port |
|
||||||
| applicationSet.containerPorts.webhook | int | `7000` | Webhook container port |
|
| applicationSet.containerPorts.webhook | int | `7000` | Webhook container port |
|
||||||
|
@ -1340,7 +1452,6 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| applicationSet.dnsConfig | object | `{}` | [DNS configuration] |
|
| applicationSet.dnsConfig | object | `{}` | [DNS configuration] |
|
||||||
| applicationSet.dnsPolicy | string | `"ClusterFirst"` | Alternative DNS policy for ApplicationSet controller pods |
|
| applicationSet.dnsPolicy | string | `"ClusterFirst"` | Alternative DNS policy for ApplicationSet controller pods |
|
||||||
| applicationSet.emptyDir.sizeLimit | string | `""` (defaults not set if not specified i.e. no size limit) | EmptyDir size limit for applicationSet controller |
|
| applicationSet.emptyDir.sizeLimit | string | `""` (defaults not set if not specified i.e. no size limit) | EmptyDir size limit for applicationSet controller |
|
||||||
| applicationSet.enabled | bool | `true` | Enable ApplicationSet controller |
|
|
||||||
| applicationSet.extraArgs | list | `[]` | ApplicationSet controller command line flags |
|
| applicationSet.extraArgs | list | `[]` | ApplicationSet controller command line flags |
|
||||||
| applicationSet.extraContainers | list | `[]` | Additional containers to be added to the ApplicationSet controller pod |
|
| applicationSet.extraContainers | list | `[]` | Additional containers to be added to the ApplicationSet controller pod |
|
||||||
| applicationSet.extraEnv | list | `[]` | Environment variables to pass to the ApplicationSet controller |
|
| applicationSet.extraEnv | list | `[]` | Environment variables to pass to the ApplicationSet controller |
|
||||||
|
@ -1380,6 +1491,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| applicationSet.metrics.serviceMonitor.additionalLabels | object | `{}` | Prometheus ServiceMonitor labels |
|
| applicationSet.metrics.serviceMonitor.additionalLabels | object | `{}` | Prometheus ServiceMonitor labels |
|
||||||
| applicationSet.metrics.serviceMonitor.annotations | object | `{}` | Prometheus ServiceMonitor annotations |
|
| applicationSet.metrics.serviceMonitor.annotations | object | `{}` | Prometheus ServiceMonitor annotations |
|
||||||
| applicationSet.metrics.serviceMonitor.enabled | bool | `false` | Enable a prometheus ServiceMonitor |
|
| applicationSet.metrics.serviceMonitor.enabled | bool | `false` | Enable a prometheus ServiceMonitor |
|
||||||
|
| applicationSet.metrics.serviceMonitor.honorLabels | bool | `false` | When true, honorLabels preserves the metric’s labels when they collide with the target’s labels. |
|
||||||
| applicationSet.metrics.serviceMonitor.interval | string | `"30s"` | Prometheus ServiceMonitor interval |
|
| applicationSet.metrics.serviceMonitor.interval | string | `"30s"` | Prometheus ServiceMonitor interval |
|
||||||
| applicationSet.metrics.serviceMonitor.metricRelabelings | list | `[]` | Prometheus [MetricRelabelConfigs] to apply to samples before ingestion |
|
| applicationSet.metrics.serviceMonitor.metricRelabelings | list | `[]` | Prometheus [MetricRelabelConfigs] to apply to samples before ingestion |
|
||||||
| applicationSet.metrics.serviceMonitor.namespace | string | `""` | Prometheus ServiceMonitor namespace |
|
| applicationSet.metrics.serviceMonitor.namespace | string | `""` | Prometheus ServiceMonitor namespace |
|
||||||
|
@ -1406,6 +1518,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| applicationSet.readinessProbe.timeoutSeconds | int | `1` | Number of seconds after which the [probe] times out |
|
| applicationSet.readinessProbe.timeoutSeconds | int | `1` | Number of seconds after which the [probe] times out |
|
||||||
| applicationSet.replicas | int | `1` | The number of ApplicationSet controller pods to run |
|
| applicationSet.replicas | int | `1` | The number of ApplicationSet controller pods to run |
|
||||||
| applicationSet.resources | object | `{}` | Resource limits and requests for the ApplicationSet controller pods. |
|
| applicationSet.resources | object | `{}` | Resource limits and requests for the ApplicationSet controller pods. |
|
||||||
|
| applicationSet.runtimeClassName | string | `""` (defaults to global.runtimeClassName) | Runtime class name for the ApplicationSet controller |
|
||||||
| applicationSet.service.annotations | object | `{}` | ApplicationSet service annotations |
|
| applicationSet.service.annotations | object | `{}` | ApplicationSet service annotations |
|
||||||
| applicationSet.service.labels | object | `{}` | ApplicationSet service labels |
|
| applicationSet.service.labels | object | `{}` | ApplicationSet service labels |
|
||||||
| applicationSet.service.port | int | `7000` | ApplicationSet service port |
|
| applicationSet.service.port | int | `7000` | ApplicationSet service port |
|
||||||
|
@ -1448,6 +1561,12 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| notifications.image.tag | string | `""` (defaults to global.image.tag) | Tag to use for the notifications controller |
|
| notifications.image.tag | string | `""` (defaults to global.image.tag) | Tag to use for the notifications controller |
|
||||||
| notifications.imagePullSecrets | list | `[]` (defaults to global.imagePullSecrets) | Secrets with credentials to pull images from a private registry |
|
| notifications.imagePullSecrets | list | `[]` (defaults to global.imagePullSecrets) | Secrets with credentials to pull images from a private registry |
|
||||||
| notifications.initContainers | list | `[]` | Init containers to add to the notifications controller pod |
|
| notifications.initContainers | list | `[]` | Init containers to add to the notifications controller pod |
|
||||||
|
| notifications.livenessProbe.enabled | bool | `false` | Enable Kubernetes liveness probe for notifications controller Pods |
|
||||||
|
| notifications.livenessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
||||||
|
| notifications.livenessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |
|
||||||
|
| notifications.livenessProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
|
||||||
|
| notifications.livenessProbe.successThreshold | int | `1` | Minimum consecutive successes for the [probe] to be considered successful after having failed |
|
||||||
|
| notifications.livenessProbe.timeoutSeconds | int | `1` | Number of seconds after which the [probe] times out |
|
||||||
| notifications.logFormat | string | `""` (defaults to global.logging.format) | Notifications controller log format. Either `text` or `json` |
|
| notifications.logFormat | string | `""` (defaults to global.logging.format) | Notifications controller log format. Either `text` or `json` |
|
||||||
| notifications.logLevel | string | `""` (defaults to global.logging.level) | Notifications controller log level. One of: `debug`, `info`, `warn`, `error` |
|
| notifications.logLevel | string | `""` (defaults to global.logging.level) | Notifications controller log level. One of: `debug`, `info`, `warn`, `error` |
|
||||||
| notifications.metrics.enabled | bool | `false` | Enables prometheus metrics server |
|
| notifications.metrics.enabled | bool | `false` | Enables prometheus metrics server |
|
||||||
|
@ -1460,6 +1579,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| notifications.metrics.serviceMonitor.additionalLabels | object | `{}` | Prometheus ServiceMonitor labels |
|
| notifications.metrics.serviceMonitor.additionalLabels | object | `{}` | Prometheus ServiceMonitor labels |
|
||||||
| notifications.metrics.serviceMonitor.annotations | object | `{}` | Prometheus ServiceMonitor annotations |
|
| notifications.metrics.serviceMonitor.annotations | object | `{}` | Prometheus ServiceMonitor annotations |
|
||||||
| notifications.metrics.serviceMonitor.enabled | bool | `false` | Enable a prometheus ServiceMonitor |
|
| notifications.metrics.serviceMonitor.enabled | bool | `false` | Enable a prometheus ServiceMonitor |
|
||||||
|
| notifications.metrics.serviceMonitor.honorLabels | bool | `false` | When true, honorLabels preserves the metric’s labels when they collide with the target’s labels. |
|
||||||
| notifications.metrics.serviceMonitor.metricRelabelings | list | `[]` | Prometheus [MetricRelabelConfigs] to apply to samples before ingestion |
|
| notifications.metrics.serviceMonitor.metricRelabelings | list | `[]` | Prometheus [MetricRelabelConfigs] to apply to samples before ingestion |
|
||||||
| notifications.metrics.serviceMonitor.relabelings | list | `[]` | Prometheus [RelabelConfigs] to apply to samples before scraping |
|
| notifications.metrics.serviceMonitor.relabelings | list | `[]` | Prometheus [RelabelConfigs] to apply to samples before scraping |
|
||||||
| notifications.metrics.serviceMonitor.scheme | string | `""` | Prometheus ServiceMonitor scheme |
|
| notifications.metrics.serviceMonitor.scheme | string | `""` | Prometheus ServiceMonitor scheme |
|
||||||
|
@ -1476,7 +1596,14 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| notifications.podAnnotations | object | `{}` | Annotations to be applied to the notifications controller Pods |
|
| notifications.podAnnotations | object | `{}` | Annotations to be applied to the notifications controller Pods |
|
||||||
| notifications.podLabels | object | `{}` | Labels to be applied to the notifications controller Pods |
|
| notifications.podLabels | object | `{}` | Labels to be applied to the notifications controller Pods |
|
||||||
| notifications.priorityClassName | string | `""` (defaults to global.priorityClassName) | Priority class for the notifications controller pods |
|
| notifications.priorityClassName | string | `""` (defaults to global.priorityClassName) | Priority class for the notifications controller pods |
|
||||||
|
| notifications.readinessProbe.enabled | bool | `false` | Enable Kubernetes liveness probe for notifications controller Pods |
|
||||||
|
| notifications.readinessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
||||||
|
| notifications.readinessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |
|
||||||
|
| notifications.readinessProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
|
||||||
|
| notifications.readinessProbe.successThreshold | int | `1` | Minimum consecutive successes for the [probe] to be considered successful after having failed |
|
||||||
|
| notifications.readinessProbe.timeoutSeconds | int | `1` | Number of seconds after which the [probe] times out |
|
||||||
| notifications.resources | object | `{}` | Resource limits and requests for the notifications controller |
|
| notifications.resources | object | `{}` | Resource limits and requests for the notifications controller |
|
||||||
|
| notifications.runtimeClassName | string | `""` (defaults to global.runtimeClassName) | Runtime class name for the notifications controller |
|
||||||
| notifications.secret.annotations | object | `{}` | key:value pairs of annotations to be added to the secret |
|
| notifications.secret.annotations | object | `{}` | key:value pairs of annotations to be added to the secret |
|
||||||
| notifications.secret.create | bool | `true` | Whether helm chart creates notifications controller secret |
|
| notifications.secret.create | bool | `true` | Whether helm chart creates notifications controller secret |
|
||||||
| notifications.secret.items | object | `{}` | Generic key:value pairs to be inserted into the secret |
|
| notifications.secret.items | object | `{}` | Generic key:value pairs to be inserted into the secret |
|
||||||
|
@ -1494,28 +1621,89 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| notifications.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to the application controller |
|
| notifications.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to the application controller |
|
||||||
| notifications.triggers | object | `{}` | The trigger defines the condition when the notification should be sent |
|
| notifications.triggers | object | `{}` | The trigger defines the condition when the notification should be sent |
|
||||||
|
|
||||||
|
## Commit server (Manifest Hydrator)
|
||||||
|
|
||||||
|
The Argo CD Commit Server provides push access to git repositories for hydrated manifests.
|
||||||
|
|
||||||
|
To read more about this component, please read [Argo CD Manifest Hydrator] and [Manifest Hydrator].
|
||||||
|
|
||||||
|
| Key | Type | Default | Description |
|
||||||
|
|-----|------|---------|-------------|
|
||||||
|
| commitServer.affinity | object | `{}` (defaults to global.affinity preset) | Assign custom [affinity] rules |
|
||||||
|
| commitServer.automountServiceAccountToken | bool | `false` | Automount API credentials for the Service Account into the pod. |
|
||||||
|
| commitServer.containerSecurityContext | object | See [values.yaml] | commit server container-level security context |
|
||||||
|
| commitServer.deploymentAnnotations | object | `{}` | Annotations to be added to commit server Deployment |
|
||||||
|
| commitServer.deploymentStrategy | object | `{}` | Deployment strategy to be added to the commit server Deployment |
|
||||||
|
| commitServer.dnsConfig | object | `{}` | [DNS configuration] |
|
||||||
|
| commitServer.dnsPolicy | string | `"ClusterFirst"` | Alternative DNS policy for commit server pods |
|
||||||
|
| commitServer.enabled | bool | `false` | Enable commit server |
|
||||||
|
| commitServer.extraArgs | list | `[]` | commit server command line flags |
|
||||||
|
| commitServer.extraEnv | list | `[]` | Environment variables to pass to the commit server |
|
||||||
|
| commitServer.extraEnvFrom | list | `[]` (See [values.yaml]) | envFrom to pass to the commit server |
|
||||||
|
| commitServer.extraVolumeMounts | list | `[]` | List of extra mounts to add (normally used with extraVolumes) |
|
||||||
|
| commitServer.extraVolumes | list | `[]` | List of extra volumes to add |
|
||||||
|
| commitServer.image.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Image pull policy for the commit server |
|
||||||
|
| commitServer.image.repository | string | `""` (defaults to global.image.repository) | Repository to use for the commit server |
|
||||||
|
| commitServer.image.tag | string | `""` (defaults to global.image.tag) | Tag to use for the commit server |
|
||||||
|
| commitServer.livenessProbe.enabled | bool | `true` | Enable Kubernetes liveness probe for commit server |
|
||||||
|
| commitServer.livenessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
||||||
|
| commitServer.livenessProbe.initialDelaySeconds | int | `30` | Number of seconds after the container has started before [probe] is initiated |
|
||||||
|
| commitServer.livenessProbe.periodSeconds | int | `30` | How often (in seconds) to perform the [probe] |
|
||||||
|
| commitServer.livenessProbe.timeoutSeconds | int | `5` | Number of seconds after which the [probe] times out |
|
||||||
|
| commitServer.metrics.enabled | bool | `false` | Enables prometheus metrics server |
|
||||||
|
| commitServer.metrics.service.annotations | object | `{}` | Metrics service annotations |
|
||||||
|
| commitServer.metrics.service.clusterIP | string | `""` | Metrics service clusterIP. `None` makes a "headless service" (no virtual IP) |
|
||||||
|
| commitServer.metrics.service.labels | object | `{}` | Metrics service labels |
|
||||||
|
| commitServer.metrics.service.portName | string | `"metrics"` | Metrics service port name |
|
||||||
|
| commitServer.metrics.service.servicePort | int | `8087` | Metrics service port |
|
||||||
|
| commitServer.metrics.service.type | string | `"ClusterIP"` | Metrics service type |
|
||||||
|
| commitServer.name | string | `"commit-server"` | Commit server name |
|
||||||
|
| commitServer.nodeSelector | object | `{}` (defaults to global.nodeSelector) | [Node selector] |
|
||||||
|
| commitServer.podAnnotations | object | `{}` | Annotations for the commit server pods |
|
||||||
|
| commitServer.podLabels | object | `{}` | Labels for the commit server pods |
|
||||||
|
| commitServer.priorityClassName | string | `""` (defaults to global.priorityClassName) | Priority class for the commit server pods |
|
||||||
|
| commitServer.readinessProbe.enabled | bool | `true` | Enable Kubernetes liveness probe for commit server |
|
||||||
|
| commitServer.readinessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
||||||
|
| commitServer.readinessProbe.initialDelaySeconds | int | `5` | Number of seconds after the container has started before [probe] is initiated |
|
||||||
|
| commitServer.readinessProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
|
||||||
|
| commitServer.readinessProbe.timeoutSeconds | int | `1` | Number of seconds after which the [probe] times out |
|
||||||
|
| commitServer.resources | object | `{}` | Resource limits and requests for the commit server pods. |
|
||||||
|
| commitServer.runtimeClassName | string | `""` (defaults to global.runtimeClassName) | Runtime class name for the commit server |
|
||||||
|
| commitServer.service.annotations | object | `{}` | commit server service annotations |
|
||||||
|
| commitServer.service.labels | object | `{}` | commit server service labels |
|
||||||
|
| commitServer.serviceAccount.annotations | object | `{}` | Annotations applied to created service account |
|
||||||
|
| commitServer.serviceAccount.automountServiceAccountToken | bool | `true` | Automount API credentials for the Service Account |
|
||||||
|
| commitServer.serviceAccount.create | bool | `true` | Create commit server service account |
|
||||||
|
| commitServer.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
||||||
|
| commitServer.serviceAccount.name | string | `"argocd-commit-server"` | commit server service account name |
|
||||||
|
| commitServer.terminationGracePeriodSeconds | int | `30` | terminationGracePeriodSeconds for container lifecycle hook |
|
||||||
|
| commitServer.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
||||||
|
| commitServer.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to the commit server |
|
||||||
|
|
||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)
|
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)
|
||||||
|
|
||||||
[Argo CD RBAC policy]: https://argo-cd.readthedocs.io/en/stable/operator-manual/rbac/
|
[Argo CD RBAC policy]: https://argo-cd.readthedocs.io/en/stable/operator-manual/rbac/
|
||||||
[affinity]: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
|
[affinity]: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
|
||||||
[BackendConfigSpec]: https://cloud.google.com/kubernetes-engine/docs/concepts/backendconfig#backendconfigspec_v1beta1_cloudgooglecom
|
[BackendConfigSpec]: https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-configuration#backendconfigspec_v1beta1_cloudgooglecom
|
||||||
[CSS styles]: https://argo-cd.readthedocs.io/en/stable/operator-manual/custom-styles/
|
[CSS styles]: https://argo-cd.readthedocs.io/en/stable/operator-manual/custom-styles/
|
||||||
[changelog]: https://artifacthub.io/packages/helm/argo/argo-cd?modal=changelog
|
[changelog]: https://artifacthub.io/packages/helm/argo/argo-cd?modal=changelog
|
||||||
|
[Chart Hooks]: https://helm.sh/docs/topics/charts_hooks/
|
||||||
[DNS configuration]: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
|
[DNS configuration]: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
|
||||||
[external cluster credentials]: https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#clusters
|
[external cluster credentials]: https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#clusters
|
||||||
[FrontendConfigSpec]: https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features#configuring_ingress_features_through_frontendconfig_parameters
|
[FAQ]: https://argo-cd.readthedocs.io/en/stable/faq/
|
||||||
|
[FrontendConfigSpec]: https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-configuration#configuring_ingress_features_through_frontendconfig_parameters
|
||||||
[declarative setup]: https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup
|
[declarative setup]: https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup
|
||||||
[gRPC-ingress]: https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/
|
[gRPC-ingress]: https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/
|
||||||
[GnuPG]: https://argo-cd.readthedocs.io/en/stable/user-guide/gpg-verification/
|
[GnuPG]: https://argo-cd.readthedocs.io/en/stable/user-guide/gpg-verification/
|
||||||
[HPA]: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
|
[HPA]: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
|
||||||
[MetricRelabelConfigs]: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs
|
[MetricRelabelConfigs]: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs
|
||||||
[Node selector]: https://kubernetes.io/docs/user-guide/node-selection/
|
[Node selector]: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector
|
||||||
[PodDisruptionBudget]: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/#pod-disruption-budgets
|
[PodDisruptionBudget]: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/#pod-disruption-budgets
|
||||||
[probe]: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
|
[probe]: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
|
||||||
[RelabelConfigs]: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
[RelabelConfigs]: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
||||||
[Tolerations]: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
[Tolerations]: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
|
||||||
[TopologySpreadConstraints]: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
[TopologySpreadConstraints]: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
|
||||||
[values.yaml]: values.yaml
|
[values.yaml]: values.yaml
|
||||||
[v2.2 to 2.3 upgrade instructions]: https://github.com/argoproj/argo-cd/blob/v2.3.0/docs/operator-manual/upgrading/2.2-2.3.md
|
[v2.2 to 2.3 upgrade instructions]: https://github.com/argoproj/argo-cd/blob/v2.3.0/docs/operator-manual/upgrading/2.2-2.3.md
|
||||||
[tini]: https://github.com/argoproj/argo-cd/pull/12707
|
[tini]: https://github.com/argoproj/argo-cd/pull/12707
|
||||||
|
@ -1524,3 +1712,5 @@ Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/
|
||||||
[Applications in any namespace]: https://argo-cd.readthedocs.io/en/stable/operator-manual/app-any-namespace/#applications-in-any-namespace
|
[Applications in any namespace]: https://argo-cd.readthedocs.io/en/stable/operator-manual/app-any-namespace/#applications-in-any-namespace
|
||||||
[Argo CD Extensions]: https://github.com/argoproj-labs/argocd-extensions?tab=readme-ov-file#deprecation-notice
|
[Argo CD Extensions]: https://github.com/argoproj-labs/argocd-extensions?tab=readme-ov-file#deprecation-notice
|
||||||
[Argo CD Extension Installer]: https://github.com/argoproj-labs/argocd-extension-installer
|
[Argo CD Extension Installer]: https://github.com/argoproj-labs/argocd-extension-installer
|
||||||
|
[Argo CD Manifest Hydrator]: https://argo-cd.readthedocs.io/en/stable/proposals/manifest-hydrator/
|
||||||
|
[Manifest Hydrator]: https://github.com/argoproj/argo-cd/blob/master/docs/proposals/manifest-hydrator.md
|
||||||
|
|
|
@ -190,7 +190,7 @@ server:
|
||||||
alb.ingress.kubernetes.io/scheme: internal
|
alb.ingress.kubernetes.io/scheme: internal
|
||||||
alb.ingress.kubernetes.io/target-type: ip
|
alb.ingress.kubernetes.io/target-type: ip
|
||||||
alb.ingress.kubernetes.io/backend-protocol: HTTP
|
alb.ingress.kubernetes.io/backend-protocol: HTTP
|
||||||
alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS":80}, {"HTTPS":443}]'
|
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP":80}, {"HTTPS":443}]'
|
||||||
alb.ingress.kubernetes.io/ssl-redirect: '443'
|
alb.ingress.kubernetes.io/ssl-redirect: '443'
|
||||||
aws:
|
aws:
|
||||||
serviceType: ClusterIP # <- Used with target-type: ip
|
serviceType: ClusterIP # <- Used with target-type: ip
|
||||||
|
@ -278,6 +278,67 @@ For full list of changes please check ArtifactHub [changelog].
|
||||||
|
|
||||||
Highlighted versions provide information about additional steps that should be performed by user when upgrading to newer version.
|
Highlighted versions provide information about additional steps that should be performed by user when upgrading to newer version.
|
||||||
|
|
||||||
|
### 7.0.0
|
||||||
|
|
||||||
|
We changed the type of `.Values.configs.clusterCredentials` from `list` to `object`.
|
||||||
|
If you used the value, please migrate like below.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# before
|
||||||
|
configs:
|
||||||
|
clusterCredentials:
|
||||||
|
- mycluster:
|
||||||
|
server: https://mycluster.example.com
|
||||||
|
labels: {}
|
||||||
|
annotations: {}
|
||||||
|
# ...
|
||||||
|
|
||||||
|
# after
|
||||||
|
configs:
|
||||||
|
clusterCredentials:
|
||||||
|
mycluster:
|
||||||
|
server: https://mycluster.example.com
|
||||||
|
labels: {}
|
||||||
|
annotations: {}
|
||||||
|
# ...
|
||||||
|
```
|
||||||
|
|
||||||
|
### 6.10.0
|
||||||
|
|
||||||
|
This version introduces authentication for Redis to mitigate GHSA-9766-5277-j5hr.
|
||||||
|
|
||||||
|
#### How to rotate Redis secret?
|
||||||
|
|
||||||
|
Upstream steps in the [FAQ] are not enough, since we chose a different approach.
|
||||||
|
(We use a Kubernetes Job with [Chart Hooks] to create the auth secret `argocd-redis`.)
|
||||||
|
|
||||||
|
Steps to rotate the secret when using the helm chart (bold step is additional to upstream):
|
||||||
|
* Delete `argocd-redis` secret in the namespace where Argo CD is installed.
|
||||||
|
```bash
|
||||||
|
kubectl delete secret argocd-redis -n <argocd namespace>
|
||||||
|
```
|
||||||
|
* **Perform a helm upgrade**
|
||||||
|
```bash
|
||||||
|
helm upgrade argocd argo/argo-cd --reuse-values --wait
|
||||||
|
```
|
||||||
|
* If you are running Redis in HA mode, restart Redis in HA.
|
||||||
|
```bash
|
||||||
|
kubectl rollout restart deployment argocd-redis-ha-haproxy
|
||||||
|
kubectl rollout restart statefulset argocd-redis-ha-server
|
||||||
|
```
|
||||||
|
* If you are running Redis in non-HA mode, restart Redis.
|
||||||
|
```bash
|
||||||
|
kubectl rollout restart deployment argocd-redis
|
||||||
|
```
|
||||||
|
* Restart other components.
|
||||||
|
```bash
|
||||||
|
kubectl rollout restart deployment argocd-server argocd-repo-server
|
||||||
|
kubectl rollout restart statefulset argocd-application-controller
|
||||||
|
```
|
||||||
|
|
||||||
|
### 6.9.0
|
||||||
|
ApplicationSet controller is always created to follow [upstream's manifest](https://github.com/argoproj/argo-cd/blob/v2.11.0/manifests/core-install/kustomization.yaml#L9).
|
||||||
|
|
||||||
### 6.4.0
|
### 6.4.0
|
||||||
|
|
||||||
Added support for application controller dynamic cluster distribution.
|
Added support for application controller dynamic cluster distribution.
|
||||||
|
@ -611,7 +672,7 @@ NAME: my-release
|
||||||
| Key | Type | Default | Description |
|
| Key | Type | Default | Description |
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
{{- range .Values }}
|
{{- range .Values }}
|
||||||
{{- if not (or (hasPrefix "global" .Key) (hasPrefix "configs" .Key) (hasPrefix "controller" .Key) (hasPrefix "repoServer" .Key) (hasPrefix "server" .Key) (hasPrefix "applicationSet" .Key) (hasPrefix "notifications" .Key) (hasPrefix "dex" .Key) (hasPrefix "redis" .Key) (hasPrefix "externalRedis" .Key) ) }}
|
{{- if not (or (hasPrefix "global" .Key) (hasPrefix "configs" .Key) (hasPrefix "controller" .Key) (hasPrefix "repoServer" .Key) (hasPrefix "server" .Key) (hasPrefix "applicationSet" .Key) (hasPrefix "notifications" .Key) (hasPrefix "dex" .Key) (hasPrefix "redis" .Key) (hasPrefix "externalRedis" .Key) (hasPrefix "commitServer" .Key) ) }}
|
||||||
| {{ .Key }} | {{ .Type }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} |
|
| {{ .Key }} | {{ .Type }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} |
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -719,6 +780,19 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
### Redis secret-init
|
||||||
|
|
||||||
|
The helm chart deploys a Job to setup a random password which is used to secure the Redis. The Redis password is stored in Kubernetes secret `argocd-redis` with key `auth` in the namespace where Argo CD is installed.
|
||||||
|
If you use an External Redis (See Option 3 above), this Job is not deployed.
|
||||||
|
|
||||||
|
| Key | Type | Default | Description |
|
||||||
|
|-----|------|---------|-------------|
|
||||||
|
{{- range .Values }}
|
||||||
|
{{- if hasPrefix "redisSecretInit" .Key }}
|
||||||
|
| {{ .Key }} | {{ .Type }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} |
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
## ApplicationSet
|
## ApplicationSet
|
||||||
|
|
||||||
| Key | Type | Default | Description |
|
| Key | Type | Default | Description |
|
||||||
|
@ -739,28 +813,44 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
## Commit server (Manifest Hydrator)
|
||||||
|
|
||||||
|
The Argo CD Commit Server provides push access to git repositories for hydrated manifests.
|
||||||
|
|
||||||
|
To read more about this component, please read [Argo CD Manifest Hydrator] and [Manifest Hydrator].
|
||||||
|
|
||||||
|
| Key | Type | Default | Description |
|
||||||
|
|-----|------|---------|-------------|
|
||||||
|
{{- range .Values }}
|
||||||
|
{{- if hasPrefix "commitServer" .Key }}
|
||||||
|
| {{ .Key }} | {{ .Type }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} |
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)
|
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)
|
||||||
|
|
||||||
[Argo CD RBAC policy]: https://argo-cd.readthedocs.io/en/stable/operator-manual/rbac/
|
[Argo CD RBAC policy]: https://argo-cd.readthedocs.io/en/stable/operator-manual/rbac/
|
||||||
[affinity]: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
|
[affinity]: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
|
||||||
[BackendConfigSpec]: https://cloud.google.com/kubernetes-engine/docs/concepts/backendconfig#backendconfigspec_v1beta1_cloudgooglecom
|
[BackendConfigSpec]: https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-configuration#backendconfigspec_v1beta1_cloudgooglecom
|
||||||
[CSS styles]: https://argo-cd.readthedocs.io/en/stable/operator-manual/custom-styles/
|
[CSS styles]: https://argo-cd.readthedocs.io/en/stable/operator-manual/custom-styles/
|
||||||
[changelog]: https://artifacthub.io/packages/helm/argo/argo-cd?modal=changelog
|
[changelog]: https://artifacthub.io/packages/helm/argo/argo-cd?modal=changelog
|
||||||
|
[Chart Hooks]: https://helm.sh/docs/topics/charts_hooks/
|
||||||
[DNS configuration]: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
|
[DNS configuration]: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
|
||||||
[external cluster credentials]: https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#clusters
|
[external cluster credentials]: https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#clusters
|
||||||
[FrontendConfigSpec]: https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features#configuring_ingress_features_through_frontendconfig_parameters
|
[FAQ]: https://argo-cd.readthedocs.io/en/stable/faq/
|
||||||
|
[FrontendConfigSpec]: https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-configuration#configuring_ingress_features_through_frontendconfig_parameters
|
||||||
[declarative setup]: https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup
|
[declarative setup]: https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup
|
||||||
[gRPC-ingress]: https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/
|
[gRPC-ingress]: https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/
|
||||||
[GnuPG]: https://argo-cd.readthedocs.io/en/stable/user-guide/gpg-verification/
|
[GnuPG]: https://argo-cd.readthedocs.io/en/stable/user-guide/gpg-verification/
|
||||||
[HPA]: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
|
[HPA]: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
|
||||||
[MetricRelabelConfigs]: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs
|
[MetricRelabelConfigs]: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs
|
||||||
[Node selector]: https://kubernetes.io/docs/user-guide/node-selection/
|
[Node selector]: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector
|
||||||
[PodDisruptionBudget]: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/#pod-disruption-budgets
|
[PodDisruptionBudget]: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/#pod-disruption-budgets
|
||||||
[probe]: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
|
[probe]: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
|
||||||
[RelabelConfigs]: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
[RelabelConfigs]: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
|
||||||
[Tolerations]: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
[Tolerations]: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
|
||||||
[TopologySpreadConstraints]: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
[TopologySpreadConstraints]: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
|
||||||
[values.yaml]: values.yaml
|
[values.yaml]: values.yaml
|
||||||
[v2.2 to 2.3 upgrade instructions]: https://github.com/argoproj/argo-cd/blob/v2.3.0/docs/operator-manual/upgrading/2.2-2.3.md
|
[v2.2 to 2.3 upgrade instructions]: https://github.com/argoproj/argo-cd/blob/v2.3.0/docs/operator-manual/upgrading/2.2-2.3.md
|
||||||
[tini]: https://github.com/argoproj/argo-cd/pull/12707
|
[tini]: https://github.com/argoproj/argo-cd/pull/12707
|
||||||
|
@ -769,3 +859,5 @@ Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/
|
||||||
[Applications in any namespace]: https://argo-cd.readthedocs.io/en/stable/operator-manual/app-any-namespace/#applications-in-any-namespace
|
[Applications in any namespace]: https://argo-cd.readthedocs.io/en/stable/operator-manual/app-any-namespace/#applications-in-any-namespace
|
||||||
[Argo CD Extensions]: https://github.com/argoproj-labs/argocd-extensions?tab=readme-ov-file#deprecation-notice
|
[Argo CD Extensions]: https://github.com/argoproj-labs/argocd-extensions?tab=readme-ov-file#deprecation-notice
|
||||||
[Argo CD Extension Installer]: https://github.com/argoproj-labs/argocd-extension-installer
|
[Argo CD Extension Installer]: https://github.com/argoproj-labs/argocd-extension-installer
|
||||||
|
[Argo CD Manifest Hydrator]: https://argo-cd.readthedocs.io/en/stable/proposals/manifest-hydrator/
|
||||||
|
[Manifest Hydrator]: https://github.com/argoproj/argo-cd/blob/master/docs/proposals/manifest-hydrator.md
|
||||||
|
|
3
charts/argo-cd/ci/with-commit-server-values.yaml
Normal file
3
charts/argo-cd/ci/with-commit-server-values.yaml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# Test Argo CD with optional component "commit-server"
|
||||||
|
commitServer:
|
||||||
|
enabled: true
|
|
@ -1,6 +1,6 @@
|
||||||
In order to access the server UI you have the following options:
|
In order to access the server UI you have the following options:
|
||||||
|
|
||||||
1. kubectl port-forward service/{{ include "argo-cd.fullname" . }}-server -n {{ .Release.Namespace }} 8080:443
|
1. kubectl port-forward service/{{ include "argo-cd.fullname" . }}-server -n {{ include "argo-cd.namespace" . }} 8080:443
|
||||||
|
|
||||||
and then open the browser on http://localhost:8080 and accept the certificate
|
and then open the browser on http://localhost:8080 and accept the certificate
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ In order to access the server UI you have the following options:
|
||||||
{{ if eq (toString (index .Values.configs.cm "admin.enabled")) "true" -}}
|
{{ if eq (toString (index .Values.configs.cm "admin.enabled")) "true" -}}
|
||||||
After reaching the UI the first time you can login with username: admin and the random password generated during the installation. You can find the password by running:
|
After reaching the UI the first time you can login with username: admin and the random password generated during the installation. You can find the password by running:
|
||||||
|
|
||||||
kubectl -n {{ .Release.Namespace }} get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
|
kubectl -n {{ include "argo-cd.namespace" . }} get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
|
||||||
|
|
||||||
(You should delete the initial secret afterwards as suggested by the Getting Started Guide: https://argo-cd.readthedocs.io/en/stable/getting_started/#4-login-using-the-cli)
|
(You should delete the initial secret afterwards as suggested by the Getting Started Guide: https://argo-cd.readthedocs.io/en/stable/getting_started/#4-login-using-the-cli)
|
||||||
{{ else if or (index .Values.configs.cm "dex.config") (index .Values.configs.cm "oidc.config") -}}
|
{{ else if or (index .Values.configs.cm "dex.config") (index .Values.configs.cm "oidc.config") -}}
|
||||||
|
|
|
@ -86,6 +86,25 @@ Create the name of the redis service account to use
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create Redis secret-init name
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-cd.redisSecretInit.fullname" -}}
|
||||||
|
{{- printf "%s-%s" (include "argo-cd.fullname" .) .Values.redisSecretInit.name | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create the name of the Redis secret-init service account to use
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-cd.redisSecretInit.serviceAccountName" -}}
|
||||||
|
{{- if .Values.redisSecretInit.serviceAccount.create -}}
|
||||||
|
{{ default (include "argo-cd.redisSecretInit.fullname" .) .Values.redisSecretInit.serviceAccount.name }}
|
||||||
|
{{- else -}}
|
||||||
|
{{ default "default" .Values.redisSecretInit.serviceAccount.name }}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Create argocd server name and version as used by the chart label.
|
Create argocd server name and version as used by the chart label.
|
||||||
*/}}
|
*/}}
|
||||||
|
@ -158,13 +177,31 @@ Create the name of the notifications service account to use
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create argocd commit-server name and version as used by the chart label.
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-cd.commitServer.fullname" -}}
|
||||||
|
{{- printf "%s-%s" (include "argo-cd.fullname" .) .Values.commitServer.name | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create the name of the commit-server service account to use
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-cd.commitServer.serviceAccountName" -}}
|
||||||
|
{{- if .Values.commitServer.serviceAccount.create -}}
|
||||||
|
{{ default (include "argo-cd.commitServer.fullname" .) .Values.commitServer.serviceAccount.name }}
|
||||||
|
{{- else -}}
|
||||||
|
{{ default "default" .Values.commitServer.serviceAccount.name }}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Argo Configuration Preset Values (Influenced by Values configuration)
|
Argo Configuration Preset Values (Influenced by Values configuration)
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "argo-cd.config.cm.presets" -}}
|
{{- define "argo-cd.config.cm.presets" -}}
|
||||||
{{- $presets := dict -}}
|
{{- $presets := dict -}}
|
||||||
{{- $_ := set $presets "url" (printf "https://%s" .Values.global.domain) -}}
|
{{- $_ := set $presets "url" (printf "https://%s" .Values.global.domain) -}}
|
||||||
{{- if index .Values.configs.cm "statusbadge.enabled" | eq true -}}
|
{{- if eq (toString (index .Values.configs.cm "statusbadge.enabled")) "true" -}}
|
||||||
{{- $_ := set $presets "statusbadge.url" (printf "https://%s/" .Values.global.domain) -}}
|
{{- $_ := set $presets "statusbadge.url" (printf "https://%s/" .Values.global.domain) -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if .Values.configs.styles -}}
|
{{- if .Values.configs.styles -}}
|
||||||
|
@ -196,6 +233,7 @@ NOTE: Configuration keys must be stored as dict because YAML treats dot as separ
|
||||||
{{- $_ := set $presets "repo.server" (printf "%s:%s" (include "argo-cd.repoServer.fullname" .) (.Values.repoServer.service.port | toString)) -}}
|
{{- $_ := set $presets "repo.server" (printf "%s:%s" (include "argo-cd.repoServer.fullname" .) (.Values.repoServer.service.port | toString)) -}}
|
||||||
{{- $_ := set $presets "server.repo.server.strict.tls" (.Values.repoServer.certificateSecret.enabled | toString ) -}}
|
{{- $_ := set $presets "server.repo.server.strict.tls" (.Values.repoServer.certificateSecret.enabled | toString ) -}}
|
||||||
{{- $_ := set $presets "redis.server" (include "argo-cd.redis.server" .) -}}
|
{{- $_ := set $presets "redis.server" (include "argo-cd.redis.server" .) -}}
|
||||||
|
{{- $_ := set $presets "applicationsetcontroller.enable.leader.election" (gt ((.Values.applicationSet.replicas | default .Values.applicationSet.replicaCount) | int64) 1) -}}
|
||||||
{{- if .Values.dex.enabled -}}
|
{{- if .Values.dex.enabled -}}
|
||||||
{{- $_ := set $presets "server.dex.server" (include "argo-cd.dex.server" .) -}}
|
{{- $_ := set $presets "server.dex.server" (include "argo-cd.dex.server" .) -}}
|
||||||
{{- $_ := set $presets "server.dex.server.strict.tls" .Values.dex.certificateSecret.enabled -}}
|
{{- $_ := set $presets "server.dex.server.strict.tls" .Values.dex.certificateSecret.enabled -}}
|
||||||
|
@ -204,9 +242,6 @@ NOTE: Configuration keys must be stored as dict because YAML treats dot as separ
|
||||||
{{- $_ := set $presets (printf "%s.log.format" $component) $.Values.global.logging.format -}}
|
{{- $_ := set $presets (printf "%s.log.format" $component) $.Values.global.logging.format -}}
|
||||||
{{- $_ := set $presets (printf "%s.log.level" $component) $.Values.global.logging.level -}}
|
{{- $_ := set $presets (printf "%s.log.level" $component) $.Values.global.logging.level -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if .Values.applicationSet.enabled -}}
|
|
||||||
{{- $_ := set $presets "applicationsetcontroller.enable.leader.election" (gt ((.Values.applicationSet.replicas | default .Values.applicationSet.replicaCount) | int64) 1) -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- toYaml $presets }}
|
{{- toYaml $presets }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
@ -220,3 +255,23 @@ Merge Argo Params Configuration with Preset Configuration
|
||||||
{{ $key }}: {{ toString $value | toYaml }}
|
{{ $key }}: {{ toString $value | toYaml }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Expand the namespace of the release.
|
||||||
|
Allows overriding it for multi-namespace deployments in combined charts.
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-cd.namespace" -}}
|
||||||
|
{{- default .Release.Namespace .Values.namespaceOverride | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Dual stack definition
|
||||||
|
*/}}
|
||||||
|
{{- define "argo-cd.dualStack" -}}
|
||||||
|
{{- with .Values.global.dualStack.ipFamilyPolicy }}
|
||||||
|
ipFamilyPolicy: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.global.dualStack.ipFamilies }}
|
||||||
|
ipFamilies: {{ toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
@ -11,9 +11,7 @@ rules:
|
||||||
- argoproj.io
|
- argoproj.io
|
||||||
resources:
|
resources:
|
||||||
- applications
|
- applications
|
||||||
{{- if .Values.applicationSet.enabled }}
|
|
||||||
- applicationsets
|
- applicationsets
|
||||||
{{- end }}
|
|
||||||
- appprojects
|
- appprojects
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
|
@ -33,9 +31,7 @@ rules:
|
||||||
- argoproj.io
|
- argoproj.io
|
||||||
resources:
|
resources:
|
||||||
- applications
|
- applications
|
||||||
{{- if .Values.applicationSet.enabled }}
|
|
||||||
- applicationsets
|
- applicationsets
|
||||||
{{- end }}
|
|
||||||
- appprojects
|
- appprojects
|
||||||
verbs:
|
verbs:
|
||||||
- create
|
- create
|
||||||
|
@ -60,9 +56,7 @@ rules:
|
||||||
- argoproj.io
|
- argoproj.io
|
||||||
resources:
|
resources:
|
||||||
- applications
|
- applications
|
||||||
{{- if .Values.applicationSet.enabled }}
|
|
||||||
- applicationsets
|
- applicationsets
|
||||||
{{- end }}
|
|
||||||
- appprojects
|
- appprojects
|
||||||
verbs:
|
verbs:
|
||||||
- create
|
- create
|
||||||
|
|
|
@ -12,5 +12,5 @@ roleRef:
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: {{ include "argo-cd.controller.serviceAccountName" . }}
|
name: {{ include "argo-cd.controller.serviceAccountName" . }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -9,7 +9,7 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ template "argo-cd.controller.fullname" . }}
|
name: {{ template "argo-cd.controller.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
@ -36,6 +36,9 @@ spec:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with .Values.controller.runtimeClassName | default .Values.global.runtimeClassName }}
|
||||||
|
runtimeClassName: {{ . }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.controller.imagePullSecrets | default .Values.global.imagePullSecrets }}
|
{{- with .Values.controller.imagePullSecrets | default .Values.global.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
@ -154,6 +157,30 @@ spec:
|
||||||
name: argocd-cmd-params-cm
|
name: argocd-cmd-params-cm
|
||||||
key: controller.self.heal.timeout.seconds
|
key: controller.self.heal.timeout.seconds
|
||||||
optional: true
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATION_CONTROLLER_SELF_HEAL_BACKOFF_TIMEOUT_SECONDS
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: controller.self.heal.backoff.timeout.seconds
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATION_CONTROLLER_SELF_HEAL_BACKOFF_FACTOR
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: controller.self.heal.backoff.factor
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATION_CONTROLLER_SELF_HEAL_BACKOFF_CAP_SECONDS
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: controller.self.heal.backoff.cap.seconds
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATION_CONTROLLER_SYNC_TIMEOUT
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: controller.sync.timeout.seconds
|
||||||
|
optional: true
|
||||||
- name: ARGOCD_APPLICATION_CONTROLLER_REPO_SERVER_PLAINTEXT
|
- name: ARGOCD_APPLICATION_CONTROLLER_REPO_SERVER_PLAINTEXT
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
@ -199,14 +226,30 @@ spec:
|
||||||
- name: REDIS_USERNAME
|
- name: REDIS_USERNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
name: {{ default "argocd-redis" .Values.externalRedis.existingSecret }}
|
||||||
key: redis-username
|
key: redis-username
|
||||||
optional: true
|
optional: true
|
||||||
- name: REDIS_PASSWORD
|
- name: REDIS_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
name: {{ default "argocd-redis" .Values.externalRedis.existingSecret }}
|
||||||
|
{{- if .Values.externalRedis.host }}
|
||||||
key: redis-password
|
key: redis-password
|
||||||
|
{{- else }}
|
||||||
|
key: auth
|
||||||
|
{{- end }}
|
||||||
|
optional: true
|
||||||
|
- name: REDIS_SENTINEL_USERNAME
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
||||||
|
key: redis-sentinel-username
|
||||||
|
optional: true
|
||||||
|
- name: REDIS_SENTINEL_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
||||||
|
key: redis-sentinel-password
|
||||||
optional: true
|
optional: true
|
||||||
- name: ARGOCD_DEFAULT_CACHE_EXPIRATION
|
- name: ARGOCD_DEFAULT_CACHE_EXPIRATION
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
@ -268,6 +311,30 @@ spec:
|
||||||
name: argocd-cmd-params-cm
|
name: argocd-cmd-params-cm
|
||||||
key: controller.diff.server.side
|
key: controller.diff.server.side
|
||||||
optional: true
|
optional: true
|
||||||
|
- name: ARGOCD_IGNORE_NORMALIZER_JQ_TIMEOUT
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: controller.ignore.normalizer.jq.timeout
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_HYDRATOR_ENABLED
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: hydrator.enabled
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_CLUSTER_CACHE_BATCH_EVENTS_PROCESSING
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: controller.cluster.cache.batch.events.processing
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_CLUSTER_CACHE_EVENTS_PROCESSING_INTERVAL
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: controller.cluster.cache.events.processing.interval
|
||||||
|
optional: true
|
||||||
{{- with .Values.controller.envFrom }}
|
{{- with .Values.controller.envFrom }}
|
||||||
envFrom:
|
envFrom:
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
|
@ -300,6 +367,8 @@ spec:
|
||||||
name: argocd-repo-server-tls
|
name: argocd-repo-server-tls
|
||||||
- mountPath: /home/argocd
|
- mountPath: /home/argocd
|
||||||
name: argocd-home
|
name: argocd-home
|
||||||
|
- name: argocd-cmd-params-cm
|
||||||
|
mountPath: /home/argocd/params
|
||||||
{{- with .Values.controller.extraContainers }}
|
{{- with .Values.controller.extraContainers }}
|
||||||
{{- tpl (toYaml .) $ | nindent 6 }}
|
{{- tpl (toYaml .) $ | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -353,6 +422,13 @@ spec:
|
||||||
path: tls.key
|
path: tls.key
|
||||||
- key: ca.crt
|
- key: ca.crt
|
||||||
path: ca.crt
|
path: ca.crt
|
||||||
|
- name: argocd-cmd-params-cm
|
||||||
|
configMap:
|
||||||
|
optional: true
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
items:
|
||||||
|
- key: controller.profile.enabled
|
||||||
|
path: profiler.enabled
|
||||||
{{- if .Values.controller.hostNetwork }}
|
{{- if .Values.controller.hostNetwork }}
|
||||||
hostNetwork: {{ .Values.controller.hostNetwork }}
|
hostNetwork: {{ .Values.controller.hostNetwork }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.controller.fullname" . }}-metrics
|
name: {{ include "argo-cd.controller.fullname" . }}-metrics
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" "metrics") | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" "metrics") | nindent 4 }}
|
||||||
{{- with .Values.controller.metrics.service.labels }}
|
{{- with .Values.controller.metrics.service.labels }}
|
||||||
|
@ -24,6 +24,7 @@ spec:
|
||||||
{{- if and .Values.controller.metrics.service.clusterIP (eq .Values.controller.metrics.service.type "ClusterIP") }}
|
{{- if and .Values.controller.metrics.service.clusterIP (eq .Values.controller.metrics.service.type "ClusterIP") }}
|
||||||
clusterIP: {{ .Values.controller.metrics.service.clusterIP }}
|
clusterIP: {{ .Values.controller.metrics.service.clusterIP }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- include "argo-cd.dualStack" . | indent 2 }}
|
||||||
ports:
|
ports:
|
||||||
- name: {{ .Values.controller.metrics.service.portName }}
|
- name: {{ .Values.controller.metrics.service.portName }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
name: {{ template "argo-cd.controller.fullname" . }}
|
name: {{ template "argo-cd.controller.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
spec:
|
spec:
|
||||||
ingress:
|
ingress:
|
||||||
- from:
|
- from:
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: policy/v1
|
||||||
kind: PodDisruptionBudget
|
kind: PodDisruptionBudget
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.controller.fullname" . }}
|
name: {{ include "argo-cd.controller.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
{{- with .Values.controller.pdb.labels }}
|
{{- with .Values.controller.pdb.labels }}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{{- if and .Values.controller.metrics.enabled .Values.controller.metrics.rules.enabled }}
|
{{- if and (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1") .Values.controller.metrics.enabled .Values.controller.metrics.rules.enabled }}
|
||||||
apiVersion: monitoring.coreos.com/v1
|
apiVersion: monitoring.coreos.com/v1
|
||||||
kind: PrometheusRule
|
kind: PrometheusRule
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.controller.fullname" . }}
|
name: {{ template "argo-cd.controller.fullname" . }}
|
||||||
namespace: {{ default .Release.Namespace .Values.controller.metrics.rules.namespace | quote }}
|
namespace: {{ default (include "argo-cd.namespace" .) .Values.controller.metrics.rules.namespace | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
{{- if .Values.controller.metrics.rules.selector }}
|
{{- if .Values.controller.metrics.rules.selector }}
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: Role
|
kind: Role
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.controller.fullname" . }}
|
name: {{ template "argo-cd.controller.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
rules:
|
rules:
|
||||||
|
@ -43,3 +43,17 @@ rules:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
- watch
|
- watch
|
||||||
|
{{- if and (not .Values.createClusterRoles) .Values.controller.dynamicClusterDistribution }}
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- configmaps
|
||||||
|
resourceNames:
|
||||||
|
- argocd-app-controller-shard-cm
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
- create
|
||||||
|
- update
|
||||||
|
{{- end }}
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: RoleBinding
|
kind: RoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.controller.fullname" . }}
|
name: {{ include "argo-cd.controller.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
roleRef:
|
roleRef:
|
||||||
|
@ -10,6 +10,6 @@ roleRef:
|
||||||
kind: Role
|
kind: Role
|
||||||
name: {{ include "argo-cd.controller.fullname" . }}
|
name: {{ include "argo-cd.controller.fullname" . }}
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: {{ include "argo-cd.controller.serviceAccountName" . }}
|
name: {{ include "argo-cd.controller.serviceAccountName" . }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
|
|
|
@ -4,7 +4,7 @@ kind: ServiceAccount
|
||||||
automountServiceAccountToken: {{ .Values.controller.serviceAccount.automountServiceAccountToken }}
|
automountServiceAccountToken: {{ .Values.controller.serviceAccount.automountServiceAccountToken }}
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.controller.serviceAccountName" . }}
|
name: {{ include "argo-cd.controller.serviceAccountName" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
{{- with .Values.controller.serviceAccount.annotations }}
|
{{- with .Values.controller.serviceAccount.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- range $key, $value := . }}
|
{{- range $key, $value := . }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: monitoring.coreos.com/v1
|
||||||
kind: ServiceMonitor
|
kind: ServiceMonitor
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.controller.fullname" . }}
|
name: {{ template "argo-cd.controller.fullname" . }}
|
||||||
namespace: {{ default .Release.Namespace .Values.controller.metrics.serviceMonitor.namespace | quote }}
|
namespace: {{ default (include "argo-cd.namespace" .) .Values.controller.metrics.serviceMonitor.namespace | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
{{- with .Values.controller.metrics.serviceMonitor.selector }}
|
{{- with .Values.controller.metrics.serviceMonitor.selector }}
|
||||||
|
@ -34,6 +34,7 @@ spec:
|
||||||
metricRelabelings:
|
metricRelabelings:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
honorLabels: {{ .Values.controller.metrics.serviceMonitor.honorLabels }}
|
||||||
{{- with .Values.controller.metrics.serviceMonitor.scheme }}
|
{{- with .Values.controller.metrics.serviceMonitor.scheme }}
|
||||||
scheme: {{ . }}
|
scheme: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -43,7 +44,7 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
namespaceSelector:
|
namespaceSelector:
|
||||||
matchNames:
|
matchNames:
|
||||||
- {{ .Release.Namespace }}
|
- {{ include "argo-cd.namespace" . }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.controller.name "name" "metrics") | nindent 6 }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.controller.name "name" "metrics") | nindent 6 }}
|
||||||
|
|
|
@ -9,7 +9,7 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ template "argo-cd.controller.fullname" . }}
|
name: {{ template "argo-cd.controller.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
@ -37,6 +37,9 @@ spec:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with .Values.controller.runtimeClassName | default .Values.global.runtimeClassName }}
|
||||||
|
runtimeClassName: {{ . }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.controller.imagePullSecrets | default .Values.global.imagePullSecrets }}
|
{{- with .Values.controller.imagePullSecrets | default .Values.global.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
@ -153,6 +156,30 @@ spec:
|
||||||
name: argocd-cmd-params-cm
|
name: argocd-cmd-params-cm
|
||||||
key: controller.self.heal.timeout.seconds
|
key: controller.self.heal.timeout.seconds
|
||||||
optional: true
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATION_CONTROLLER_SELF_HEAL_BACKOFF_TIMEOUT_SECONDS
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: controller.self.heal.backoff.timeout.seconds
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATION_CONTROLLER_SELF_HEAL_BACKOFF_FACTOR
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: controller.self.heal.backoff.factor
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATION_CONTROLLER_SELF_HEAL_BACKOFF_CAP_SECONDS
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: controller.self.heal.backoff.cap.seconds
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATION_CONTROLLER_SYNC_TIMEOUT
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: controller.sync.timeout.seconds
|
||||||
|
optional: true
|
||||||
- name: ARGOCD_APPLICATION_CONTROLLER_REPO_SERVER_PLAINTEXT
|
- name: ARGOCD_APPLICATION_CONTROLLER_REPO_SERVER_PLAINTEXT
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
@ -198,14 +225,30 @@ spec:
|
||||||
- name: REDIS_USERNAME
|
- name: REDIS_USERNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
name: {{ default "argocd-redis" .Values.externalRedis.existingSecret }}
|
||||||
key: redis-username
|
key: redis-username
|
||||||
optional: true
|
optional: true
|
||||||
- name: REDIS_PASSWORD
|
- name: REDIS_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
name: {{ default "argocd-redis" .Values.externalRedis.existingSecret }}
|
||||||
|
{{- if .Values.externalRedis.host }}
|
||||||
key: redis-password
|
key: redis-password
|
||||||
|
{{- else }}
|
||||||
|
key: auth
|
||||||
|
{{- end }}
|
||||||
|
optional: true
|
||||||
|
- name: REDIS_SENTINEL_USERNAME
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
||||||
|
key: redis-sentinel-username
|
||||||
|
optional: true
|
||||||
|
- name: REDIS_SENTINEL_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
||||||
|
key: redis-sentinel-password
|
||||||
optional: true
|
optional: true
|
||||||
- name: ARGOCD_DEFAULT_CACHE_EXPIRATION
|
- name: ARGOCD_DEFAULT_CACHE_EXPIRATION
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
@ -267,6 +310,32 @@ spec:
|
||||||
name: argocd-cmd-params-cm
|
name: argocd-cmd-params-cm
|
||||||
key: controller.diff.server.side
|
key: controller.diff.server.side
|
||||||
optional: true
|
optional: true
|
||||||
|
- name: ARGOCD_IGNORE_NORMALIZER_JQ_TIMEOUT
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: controller.ignore.normalizer.jq.timeout
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_HYDRATOR_ENABLED
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: hydrator.enabled
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_CLUSTER_CACHE_BATCH_EVENTS_PROCESSING
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: controller.cluster.cache.batch.events.processing
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_CLUSTER_CACHE_EVENTS_PROCESSING_INTERVAL
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: controller.cluster.cache.events.processing.interval
|
||||||
|
optional: true
|
||||||
|
- name: KUBECACHEDIR
|
||||||
|
value: /tmp/kubecache
|
||||||
{{- with .Values.controller.envFrom }}
|
{{- with .Values.controller.envFrom }}
|
||||||
envFrom:
|
envFrom:
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
|
@ -299,6 +368,10 @@ spec:
|
||||||
name: argocd-repo-server-tls
|
name: argocd-repo-server-tls
|
||||||
- mountPath: /home/argocd
|
- mountPath: /home/argocd
|
||||||
name: argocd-home
|
name: argocd-home
|
||||||
|
- name: argocd-cmd-params-cm
|
||||||
|
mountPath: /home/argocd/params
|
||||||
|
- name: argocd-application-controller-tmp
|
||||||
|
mountPath: /tmp
|
||||||
{{- with .Values.controller.extraContainers }}
|
{{- with .Values.controller.extraContainers }}
|
||||||
{{- tpl (toYaml .) $ | nindent 6 }}
|
{{- tpl (toYaml .) $ | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -340,6 +413,8 @@ spec:
|
||||||
{{- else }}
|
{{- else }}
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
- emptyDir: {}
|
||||||
|
name: argocd-application-controller-tmp
|
||||||
- name: argocd-repo-server-tls
|
- name: argocd-repo-server-tls
|
||||||
secret:
|
secret:
|
||||||
secretName: argocd-repo-server-tls
|
secretName: argocd-repo-server-tls
|
||||||
|
@ -351,6 +426,13 @@ spec:
|
||||||
path: tls.key
|
path: tls.key
|
||||||
- key: ca.crt
|
- key: ca.crt
|
||||||
path: ca.crt
|
path: ca.crt
|
||||||
|
- name: argocd-cmd-params-cm
|
||||||
|
configMap:
|
||||||
|
optional: true
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
items:
|
||||||
|
- key: controller.profile.enabled
|
||||||
|
path: profiler.enabled
|
||||||
{{- if .Values.controller.hostNetwork }}
|
{{- if .Values.controller.hostNetwork }}
|
||||||
hostNetwork: {{ .Values.controller.hostNetwork }}
|
hostNetwork: {{ .Values.controller.hostNetwork }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -9,11 +9,11 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ template "argo-cd.applicationSet.fullname" . }}
|
name: {{ template "argo-cd.applicationSet.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
secretName: {{ .Values.applicationSet.certificate.secretName }}
|
secretName: argocd-applicationset-controller-tls
|
||||||
commonName: {{ .Values.applicationSet.certificate.domain | default .Values.global.domain }}
|
commonName: {{ .Values.applicationSet.certificate.domain | default .Values.global.domain }}
|
||||||
dnsNames:
|
dnsNames:
|
||||||
- {{ .Values.applicationSet.certificate.domain | default .Values.global.domain }}
|
- {{ .Values.applicationSet.certificate.domain | default .Values.global.domain }}
|
||||||
|
|
|
@ -3,7 +3,6 @@ apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.applicationSet.fullname" . }}
|
name: {{ include "argo-cd.applicationSet.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
||||||
rules:
|
rules:
|
||||||
|
@ -35,6 +34,8 @@ rules:
|
||||||
- appprojects
|
- appprojects
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
resources:
|
resources:
|
||||||
|
|
|
@ -3,7 +3,6 @@ apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.applicationSet.fullname" . }}
|
name: {{ template "argo-cd.applicationSet.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
||||||
roleRef:
|
roleRef:
|
||||||
|
@ -13,5 +12,5 @@ roleRef:
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: {{ template "argo-cd.applicationSet.serviceAccountName" . }}
|
name: {{ template "argo-cd.applicationSet.serviceAccountName" . }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
{{- if .Values.applicationSet.enabled }}
|
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -9,7 +8,7 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ include "argo-cd.applicationSet.fullname" . }}
|
name: {{ include "argo-cd.applicationSet.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
@ -37,6 +36,9 @@ spec:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with .Values.applicationSet.runtimeClassName | default .Values.global.runtimeClassName }}
|
||||||
|
runtimeClassName: {{ . }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.applicationSet.imagePullSecrets | default .Values.global.imagePullSecrets }}
|
{{- with .Values.applicationSet.imagePullSecrets | default .Values.global.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
@ -149,6 +151,12 @@ spec:
|
||||||
key: applicationsetcontroller.enable.progressive.syncs
|
key: applicationsetcontroller.enable.progressive.syncs
|
||||||
name: argocd-cmd-params-cm
|
name: argocd-cmd-params-cm
|
||||||
optional: true
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATIONSET_CONTROLLER_TOKENREF_STRICT_MODE
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
key: applicationsetcontroller.enable.tokenref.strict.mode
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
optional: true
|
||||||
- name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_NEW_GIT_FILE_GLOBBING
|
- name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_NEW_GIT_FILE_GLOBBING
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
@ -203,6 +211,18 @@ spec:
|
||||||
name: argocd-cmd-params-cm
|
name: argocd-cmd-params-cm
|
||||||
key: applicationsetcontroller.enable.scm.providers
|
key: applicationsetcontroller.enable.scm.providers
|
||||||
optional: true
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATIONSET_CONTROLLER_WEBHOOK_PARALLELISM_LIMIT
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: applicationsetcontroller.webhook.parallelism.limit
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATIONSET_CONTROLLER_REQUEUE_AFTER
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
key: applicationsetcontroller.requeue.after
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
optional: true
|
||||||
{{- with .Values.applicationSet.extraEnvFrom }}
|
{{- with .Values.applicationSet.extraEnvFrom }}
|
||||||
envFrom:
|
envFrom:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
|
@ -332,4 +352,3 @@ spec:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
dnsPolicy: {{ .Values.applicationSet.dnsPolicy }}
|
dnsPolicy: {{ .Values.applicationSet.dnsPolicy }}
|
||||||
{{- end }}
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{{- if and .Values.applicationSet.enabled .Values.applicationSet.ingress.enabled -}}
|
{{- if .Values.applicationSet.ingress.enabled -}}
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.applicationSet.fullname" . }}
|
name: {{ include "argo-cd.applicationSet.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
||||||
{{- with .Values.applicationSet.ingress.labels }}
|
{{- with .Values.applicationSet.ingress.labels }}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{{- if and .Values.applicationSet.enabled .Values.applicationSet.metrics.enabled }}
|
{{- if .Values.applicationSet.metrics.enabled }}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.applicationSet.fullname" . }}-metrics
|
name: {{ include "argo-cd.applicationSet.fullname" . }}-metrics
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" "metrics") | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" "metrics") | nindent 4 }}
|
||||||
{{- with .Values.applicationSet.metrics.service.labels }}
|
{{- with .Values.applicationSet.metrics.service.labels }}
|
||||||
|
@ -24,6 +24,7 @@ spec:
|
||||||
{{- if and .Values.applicationSet.metrics.service.clusterIP (eq .Values.applicationSet.metrics.service.type "ClusterIP") }}
|
{{- if and .Values.applicationSet.metrics.service.clusterIP (eq .Values.applicationSet.metrics.service.type "ClusterIP") }}
|
||||||
clusterIP: {{ .Values.applicationSet.metrics.service.clusterIP }}
|
clusterIP: {{ .Values.applicationSet.metrics.service.clusterIP }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- include "argo-cd.dualStack" . | indent 2 }}
|
||||||
ports:
|
ports:
|
||||||
- name: {{ .Values.applicationSet.metrics.service.portName }}
|
- name: {{ .Values.applicationSet.metrics.service.portName }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{{- if and .Values.applicationSet.enabled .Values.global.networkPolicy.create (or .Values.applicationSet.metrics.enabled .Values.applicationSet.ingress.enabled) }}
|
{{- if and .Values.global.networkPolicy.create (or .Values.applicationSet.metrics.enabled .Values.applicationSet.ingress.enabled) }}
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: NetworkPolicy
|
kind: NetworkPolicy
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.applicationSet.fullname" . }}
|
name: {{ template "argo-cd.applicationSet.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{{- if and .Values.applicationSet.enabled .Values.applicationSet.pdb.enabled }}
|
{{- if .Values.applicationSet.pdb.enabled }}
|
||||||
apiVersion: policy/v1
|
apiVersion: policy/v1
|
||||||
kind: PodDisruptionBudget
|
kind: PodDisruptionBudget
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.applicationSet.fullname" . }}
|
name: {{ include "argo-cd.applicationSet.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
||||||
{{- with .Values.applicationSet.pdb.labels }}
|
{{- with .Values.applicationSet.pdb.labels }}
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
{{- if .Values.applicationSet.enabled }}
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: Role
|
kind: Role
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.applicationSet.fullname" . }}
|
name: {{ include "argo-cd.applicationSet.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
||||||
rules:
|
rules:
|
||||||
|
@ -35,6 +34,8 @@ rules:
|
||||||
- appprojects
|
- appprojects
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
resources:
|
resources:
|
||||||
|
@ -86,4 +87,3 @@ rules:
|
||||||
- patch
|
- patch
|
||||||
- update
|
- update
|
||||||
- watch
|
- watch
|
||||||
{{- end }}
|
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
{{- if .Values.applicationSet.enabled }}
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: RoleBinding
|
kind: RoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.applicationSet.fullname" . }}
|
name: {{ include "argo-cd.applicationSet.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
||||||
roleRef:
|
roleRef:
|
||||||
|
@ -13,5 +12,4 @@ roleRef:
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: {{ include "argo-cd.applicationSet.serviceAccountName" . }}
|
name: {{ include "argo-cd.applicationSet.serviceAccountName" . }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
{{- end }}
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
{{- if .Values.applicationSet.enabled }}
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -9,7 +8,7 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ template "argo-cd.applicationSet.fullname" . }}
|
name: {{ template "argo-cd.applicationSet.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
||||||
{{- with .Values.applicationSet.service.labels }}
|
{{- with .Values.applicationSet.service.labels }}
|
||||||
|
@ -17,10 +16,10 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
type: {{ .Values.applicationSet.service.type }}
|
type: {{ .Values.applicationSet.service.type }}
|
||||||
|
{{- include "argo-cd.dualStack" . | indent 2 }}
|
||||||
ports:
|
ports:
|
||||||
- name: {{ .Values.applicationSet.service.portName }}
|
- name: {{ .Values.applicationSet.service.portName }}
|
||||||
port: {{ .Values.applicationSet.service.port }}
|
port: {{ .Values.applicationSet.service.port }}
|
||||||
targetPort: webhook
|
targetPort: webhook
|
||||||
selector:
|
selector:
|
||||||
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.applicationSet.name) | nindent 4 }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.applicationSet.name) | nindent 4 }}
|
||||||
{{- end }}
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{{- if and .Values.applicationSet.enabled .Values.applicationSet.serviceAccount.create }}
|
{{- if .Values.applicationSet.serviceAccount.create }}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
automountServiceAccountToken: {{ .Values.applicationSet.serviceAccount.automountServiceAccountToken }}
|
automountServiceAccountToken: {{ .Values.applicationSet.serviceAccount.automountServiceAccountToken }}
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.applicationSet.serviceAccountName" . }}
|
name: {{ include "argo-cd.applicationSet.serviceAccountName" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
{{- with .Values.applicationSet.serviceAccount.annotations }}
|
{{- with .Values.applicationSet.serviceAccount.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- range $key, $value := . }}
|
{{- range $key, $value := . }}
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
{{- if .Values.applicationSet.enabled }}
|
|
||||||
{{- if and (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1") .Values.applicationSet.metrics.enabled .Values.applicationSet.metrics.serviceMonitor.enabled }}
|
{{- if and (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1") .Values.applicationSet.metrics.enabled .Values.applicationSet.metrics.serviceMonitor.enabled }}
|
||||||
apiVersion: monitoring.coreos.com/v1
|
apiVersion: monitoring.coreos.com/v1
|
||||||
kind: ServiceMonitor
|
kind: ServiceMonitor
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.applicationSet.fullname" . }}
|
name: {{ template "argo-cd.applicationSet.fullname" . }}
|
||||||
namespace: {{ default .Release.Namespace .Values.applicationSet.metrics.serviceMonitor.namespace | quote }}
|
namespace: {{ default (include "argo-cd.namespace" .) .Values.applicationSet.metrics.serviceMonitor.namespace | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
|
||||||
{{- with .Values.applicationSet.metrics.serviceMonitor.selector }}
|
{{- with .Values.applicationSet.metrics.serviceMonitor.selector }}
|
||||||
|
@ -35,6 +34,7 @@ spec:
|
||||||
metricRelabelings:
|
metricRelabelings:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
honorLabels: {{ .Values.applicationSet.metrics.serviceMonitor.honorLabels }}
|
||||||
{{- with .Values.applicationSet.metrics.serviceMonitor.scheme }}
|
{{- with .Values.applicationSet.metrics.serviceMonitor.scheme }}
|
||||||
scheme: {{ . }}
|
scheme: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -44,9 +44,8 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
namespaceSelector:
|
namespaceSelector:
|
||||||
matchNames:
|
matchNames:
|
||||||
- {{ .Release.Namespace }}
|
- {{ include "argo-cd.namespace" . }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.applicationSet.name "name" "metrics") | nindent 6 }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.applicationSet.name "name" "metrics") | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
|
||||||
|
|
238
charts/argo-cd/templates/argocd-commit-server/deployment.yaml
Normal file
238
charts/argo-cd/templates/argocd-commit-server/deployment.yaml
Normal file
|
@ -0,0 +1,238 @@
|
||||||
|
{{- if .Values.commitServer.enabled }}
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
{{- with (mergeOverwrite (deepCopy .Values.global.deploymentAnnotations) .Values.commitServer.deploymentAnnotations) }}
|
||||||
|
annotations:
|
||||||
|
{{- range $key, $value := . }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
name: {{ template "argo-cd.commitServer.fullname" . }}
|
||||||
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.commitServer.name "name" .Values.commitServer.name) | nindent 4 }}
|
||||||
|
spec:
|
||||||
|
{{- with include "argo-cd.strategy" (mergeOverwrite (deepCopy .Values.global.deploymentStrategy) .Values.commitServer.deploymentStrategy) }}
|
||||||
|
strategy:
|
||||||
|
{{- trim . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit }}
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.commitServer.name) | nindent 6 }}
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
{{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.commitServer.podAnnotations) }}
|
||||||
|
{{- range $key, $value := . }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
labels:
|
||||||
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.commitServer.name "name" .Values.commitServer.name) | nindent 8 }}
|
||||||
|
{{- with (mergeOverwrite (deepCopy .Values.global.podLabels) .Values.commitServer.podLabels) }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
spec:
|
||||||
|
{{- with .Values.commitServer.runtimeClassName | default .Values.global.runtimeClassName }}
|
||||||
|
runtimeClassName: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.commitServer.imagePullSecrets | default .Values.global.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.global.hostAliases }}
|
||||||
|
hostAliases:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.global.securityContext }}
|
||||||
|
securityContext:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.commitServer.priorityClassName | default .Values.global.priorityClassName }}
|
||||||
|
priorityClassName: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.commitServer.terminationGracePeriodSeconds }}
|
||||||
|
terminationGracePeriodSeconds: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
serviceAccountName: {{ include "argo-cd.commitServer.serviceAccountName" . }}
|
||||||
|
automountServiceAccountToken: {{ .Values.commitServer.automountServiceAccountToken }}
|
||||||
|
containers:
|
||||||
|
- name: {{ .Values.commitServer.name }}
|
||||||
|
image: {{ default .Values.global.image.repository .Values.commitServer.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.commitServer.image.tag }}
|
||||||
|
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.commitServer.image.imagePullPolicy }}
|
||||||
|
args:
|
||||||
|
- /usr/local/bin/argocd-commit-server
|
||||||
|
{{- with .Values.commitServer.extraArgs }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
env:
|
||||||
|
{{- with (concat .Values.global.env .Values.commitServer.extraEnv) }}
|
||||||
|
{{- toYaml . | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
|
- name: ARGOCD_COMMIT_SERVER_LISTEN_ADDRESS
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: commitserver.listen.address
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_COMMIT_SERVER_METRICS_LISTEN_ADDRESS
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: commitserver.metrics.listen.address
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_COMMIT_SERVER_LOGFORMAT
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: commitserver.log.format
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_COMMIT_SERVER_LOGLEVEL
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: commitserver.log.level
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_LOG_FORMAT_TIMESTAMP
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: log.format.timestamp
|
||||||
|
optional: true
|
||||||
|
{{- with .Values.commitServer.envFrom }}
|
||||||
|
envFrom:
|
||||||
|
{{- toYaml . | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
|
ports:
|
||||||
|
- containerPort: 8086
|
||||||
|
name: server
|
||||||
|
protocol: TCP
|
||||||
|
- containerPort: 8087
|
||||||
|
name: metrics
|
||||||
|
protocol: TCP
|
||||||
|
{{- if .Values.commitServer.livenessProbe.enabled }}
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /healthz?full=true
|
||||||
|
port: 8087
|
||||||
|
initialDelaySeconds: {{ .Values.commitServer.livenessProbe.initialDelaySeconds }}
|
||||||
|
periodSeconds: {{ .Values.commitServer.livenessProbe.periodSeconds }}
|
||||||
|
failureThreshold: {{ .Values.commitServer.livenessProbe.failureThreshold }}
|
||||||
|
timeoutSeconds: {{ .Values.commitServer.livenessProbe.timeoutSeconds }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.commitServer.readinessProbe.enabled }}
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /healthz
|
||||||
|
port: 8087
|
||||||
|
initialDelaySeconds: {{ .Values.commitServer.readinessProbe.initialDelaySeconds }}
|
||||||
|
periodSeconds: {{ .Values.commitServer.readinessProbe.periodSeconds }}
|
||||||
|
failureThreshold: {{ .Values.commitServer.readinessProbe.failureThreshold }}
|
||||||
|
timeoutSeconds: {{ .Values.commitServer.readinessProbe.timeoutSeconds }}
|
||||||
|
{{- end }}
|
||||||
|
resources:
|
||||||
|
{{- toYaml .Values.commitServer.resources | nindent 10 }}
|
||||||
|
{{- with .Values.commitServer.containerSecurityContext }}
|
||||||
|
securityContext:
|
||||||
|
{{- toYaml . | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.commitServer.lifecycle }}
|
||||||
|
lifecycle:
|
||||||
|
{{- toYaml . | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
|
volumeMounts:
|
||||||
|
{{- with .Values.commitServer.extraVolumeMounts }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
- name: ssh-known-hosts
|
||||||
|
mountPath: /app/config/ssh
|
||||||
|
- name: tls-certs
|
||||||
|
mountPath: /app/config/tls
|
||||||
|
- name: gpg-keys
|
||||||
|
mountPath: /app/config/gpg/source
|
||||||
|
- name: gpg-keyring
|
||||||
|
mountPath: /app/config/gpg/keys
|
||||||
|
# We need a writeable temp directory for the askpass socket file.
|
||||||
|
- name: tmp
|
||||||
|
mountPath: /tmp
|
||||||
|
initContainers:
|
||||||
|
- command:
|
||||||
|
- /bin/cp
|
||||||
|
- -n
|
||||||
|
- /usr/local/bin/argocd
|
||||||
|
- /var/run/argocd/argocd-cmp-server
|
||||||
|
image: {{ default .Values.global.image.repository .Values.commitServer.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.commitServer.image.tag }}
|
||||||
|
name: copyutil
|
||||||
|
resources:
|
||||||
|
{{- toYaml .Values.commitServer.resources | nindent 10 }}
|
||||||
|
{{- with .Values.commitServer.containerSecurityContext }}
|
||||||
|
securityContext:
|
||||||
|
{{- toYaml . | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /var/run/argocd
|
||||||
|
name: var-files
|
||||||
|
volumes:
|
||||||
|
{{- with .Values.commitServer.extraVolumes }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
- name: ssh-known-hosts
|
||||||
|
configMap:
|
||||||
|
name: argocd-ssh-known-hosts-cm
|
||||||
|
- name: tls-certs
|
||||||
|
configMap:
|
||||||
|
name: argocd-tls-certs-cm
|
||||||
|
- name: gpg-keys
|
||||||
|
configMap:
|
||||||
|
name: argocd-gpg-keys-cm
|
||||||
|
- name: gpg-keyring
|
||||||
|
emptyDir: {}
|
||||||
|
- name: tmp
|
||||||
|
emptyDir: {}
|
||||||
|
- name: argocd-commit-server-tls
|
||||||
|
secret:
|
||||||
|
secretName: argocd-commit-server-tls
|
||||||
|
optional: true
|
||||||
|
items:
|
||||||
|
- key: tls.crt
|
||||||
|
path: tls.crt
|
||||||
|
- key: tls.key
|
||||||
|
path: tls.key
|
||||||
|
- key: ca.crt
|
||||||
|
path: ca.crt
|
||||||
|
- emptyDir: {}
|
||||||
|
name: var-files
|
||||||
|
{{- with include "argo-cd.affinity" (dict "context" . "component" .Values.commitServer) }}
|
||||||
|
affinity:
|
||||||
|
{{- trim . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.commitServer.nodeSelector | default .Values.global.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.commitServer.tolerations | default .Values.global.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.commitServer.topologySpreadConstraints | default .Values.global.topologySpreadConstraints }}
|
||||||
|
topologySpreadConstraints:
|
||||||
|
{{- range $constraint := . }}
|
||||||
|
- {{ toYaml $constraint | nindent 8 | trim }}
|
||||||
|
{{- if not $constraint.labelSelector }}
|
||||||
|
labelSelector:
|
||||||
|
matchLabels:
|
||||||
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.commitServer.name) | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.commitServer.hostNetwork }}
|
||||||
|
hostNetwork: {{ .Values.commitServer.hostNetwork }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.commitServer.dnsConfig }}
|
||||||
|
dnsConfig:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
dnsPolicy: {{ .Values.commitServer.dnsPolicy }}
|
||||||
|
{{- end }}
|
35
charts/argo-cd/templates/argocd-commit-server/metrics.yaml
Normal file
35
charts/argo-cd/templates/argocd-commit-server/metrics.yaml
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{{- if and .Values.commitServer.enabled .Values.commitServer.metrics.enabled }}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: {{ include "argo-cd.commitServer.fullname" . }}-metrics
|
||||||
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.commitServer.name "name" "metrics") | nindent 4 }}
|
||||||
|
{{- with .Values.commitServer.metrics.service.labels }}
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if or .Values.commitServer.metrics.service.annotations .Values.global.addPrometheusAnnotations }}
|
||||||
|
annotations:
|
||||||
|
{{- if .Values.global.addPrometheusAnnotations }}
|
||||||
|
prometheus.io/port: {{ .Values.commitServer.metrics.service.servicePort | quote }}
|
||||||
|
prometheus.io/scrape: "true"
|
||||||
|
{{- end }}
|
||||||
|
{{- range $key, $value := .Values.commitServer.metrics.service.annotations }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
spec:
|
||||||
|
type: {{ .Values.commitServer.metrics.service.type }}
|
||||||
|
{{- if and .Values.commitServer.metrics.service.clusterIP (eq .Values.commitServer.metrics.service.type "ClusterIP") }}
|
||||||
|
clusterIP: {{ .Values.commitServer.metrics.service.clusterIP }}
|
||||||
|
{{- end }}
|
||||||
|
{{- include "argo-cd.dualStack" . | indent 2 }}
|
||||||
|
ports:
|
||||||
|
- name: {{ .Values.commitServer.metrics.service.portName }}
|
||||||
|
protocol: TCP
|
||||||
|
port: {{ .Values.commitServer.metrics.service.servicePort }}
|
||||||
|
targetPort: 8087
|
||||||
|
selector:
|
||||||
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.commitServer.name) | nindent 4 }}
|
||||||
|
{{- end }}
|
|
@ -0,0 +1,25 @@
|
||||||
|
{{- if and .Values.commitServer.enabled .Values.global.networkPolicy.create }}
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: NetworkPolicy
|
||||||
|
metadata:
|
||||||
|
name: {{ template "argo-cd.commitServer.fullname" . }}
|
||||||
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
|
spec:
|
||||||
|
podSelector:
|
||||||
|
matchLabels:
|
||||||
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.commitServer.name) | nindent 6 }}
|
||||||
|
policyTypes:
|
||||||
|
- Ingress
|
||||||
|
ingress:
|
||||||
|
- from:
|
||||||
|
- podSelector:
|
||||||
|
matchLabels:
|
||||||
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.controller.name) | nindent 14 }}
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 8086
|
||||||
|
- from:
|
||||||
|
- namespaceSelector: { }
|
||||||
|
ports:
|
||||||
|
- port: 8087
|
||||||
|
{{- end }}
|
26
charts/argo-cd/templates/argocd-commit-server/service.yaml
Normal file
26
charts/argo-cd/templates/argocd-commit-server/service.yaml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{{- if .Values.commitServer.enabled }}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: {{ template "argo-cd.commitServer.fullname" . }}
|
||||||
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.commitServer.name "name" .Values.commitServer.name) | nindent 4 }}
|
||||||
|
{{- with .Values.commitServer.service.labels }}
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.commitServer.service.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- range $key, $value := . }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: server
|
||||||
|
protocol: TCP
|
||||||
|
port: 8086
|
||||||
|
targetPort: 8086
|
||||||
|
selector:
|
||||||
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.commitServer.name) | nindent 4 }}
|
||||||
|
{{- end }}
|
|
@ -0,0 +1,19 @@
|
||||||
|
{{- if and .Values.commitServer.enabled .Values.commitServer.serviceAccount.create }}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
automountServiceAccountToken: {{ .Values.commitServer.serviceAccount.automountServiceAccountToken }}
|
||||||
|
metadata:
|
||||||
|
name: {{ include "argo-cd.commitServer.serviceAccountName" . }}
|
||||||
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
|
{{- with .Values.commitServer.serviceAccount.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- range $key, $value := . }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
labels:
|
||||||
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.commitServer.name "name" .Values.commitServer.name) | nindent 4 }}
|
||||||
|
{{- with .Values.commitServer.serviceAccount.labels }}
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
|
@ -3,7 +3,7 @@ apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-cm
|
name: argocd-cm
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "cm") | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "cm") | nindent 4 }}
|
||||||
{{- with .Values.configs.cm.annotations }}
|
{{- with .Values.configs.cm.annotations }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-cmd-params-cm
|
name: argocd-cmd-params-cm
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "cmd-params-cm") | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "cmd-params-cm") | nindent 4 }}
|
||||||
{{- if .Values.configs.params.annotations }}
|
{{- if .Values.configs.params.annotations }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-cmp-cm
|
name: argocd-cmp-cm
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" "cmp-cm") | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" "cmp-cm") | nindent 4 }}
|
||||||
{{- with .Values.configs.cmp.annotations }}
|
{{- with .Values.configs.cmp.annotations }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-dex-server-tls
|
name: argocd-dex-server-tls
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.dex.name "name" "dex-server-tls") | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.dex.name "name" "dex-server-tls") | nindent 4 }}
|
||||||
{{- with .Values.dex.certificateSecret.labels }}
|
{{- with .Values.dex.certificateSecret.labels }}
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-gpg-keys-cm
|
name: argocd-gpg-keys-cm
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "name" "gpg-keys-cm") | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "name" "gpg-keys-cm") | nindent 4 }}
|
||||||
{{- with .Values.configs.gpg.annotations }}
|
{{- with .Values.configs.gpg.annotations }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-notifications-cm
|
name: argocd-notifications-cm
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
|
||||||
data:
|
data:
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Values.notifications.secret.name }}
|
name: {{ .Values.notifications.secret.name }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
|
||||||
{{- with .Values.notifications.secret.labels }}
|
{{- with .Values.notifications.secret.labels }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-rbac-cm
|
name: argocd-rbac-cm
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "rbac-cm") | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "rbac-cm") | nindent 4 }}
|
||||||
{{- with .Values.configs.rbac.annotations }}
|
{{- with .Values.configs.rbac.annotations }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-repo-server-tls
|
name: argocd-repo-server-tls
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" "repo-server-tls") | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" "repo-server-tls") | nindent 4 }}
|
||||||
{{- with .Values.repoServer.certificateSecret.labels }}
|
{{- with .Values.repoServer.certificateSecret.labels }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-secret
|
name: argocd-secret
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "secret") | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "secret") | nindent 4 }}
|
||||||
{{- with .Values.configs.secret.labels }}
|
{{- with .Values.configs.secret.labels }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-server-tls
|
name: argocd-server-tls
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "server-tls") | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "server-tls") | nindent 4 }}
|
||||||
{{- with .Values.server.certificateSecret.labels }}
|
{{- with .Values.server.certificateSecret.labels }}
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
|
{{- if .Values.configs.ssh.create }}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-ssh-known-hosts-cm
|
name: argocd-ssh-known-hosts-cm
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "name" "ssh-known-hosts-cm") | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "name" "ssh-known-hosts-cm") | nindent 4 }}
|
||||||
{{- with .Values.configs.ssh.annotations }}
|
{{- with .Values.configs.ssh.annotations }}
|
||||||
|
@ -17,3 +18,4 @@ data:
|
||||||
{{- with .Values.configs.ssh.extraHosts }}
|
{{- with .Values.configs.ssh.extraHosts }}
|
||||||
{{- . | nindent 4 }}
|
{{- . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-styles-cm
|
name: argocd-styles-cm
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
||||||
data:
|
data:
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
|
{{- if .Values.configs.tls.create }}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-tls-certs-cm
|
name: argocd-tls-certs-cm
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "name" "tls-certs-cm") | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "name" "tls-certs-cm") | nindent 4 }}
|
||||||
{{- with .Values.configs.tls.annotations }}
|
{{- with .Values.configs.tls.annotations }}
|
||||||
|
@ -15,3 +16,4 @@ metadata:
|
||||||
data:
|
data:
|
||||||
{{- toYaml . | nindent 2 }}
|
{{- toYaml . | nindent 2 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
{{- range .Values.configs.clusterCredentials }}
|
{{- range $cluster_key, $cluster_value := .Values.configs.clusterCredentials }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.name" $ }}-cluster-{{ .name }}
|
name: {{ include "argo-cd.name" $ }}-cluster-{{ $cluster_key }}
|
||||||
namespace: {{ $.Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" $ | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
|
||||||
{{- with .labels }}
|
{{- with $cluster_value.labels }}
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
argocd.argoproj.io/secret-type: cluster
|
argocd.argoproj.io/secret-type: cluster
|
||||||
{{- with .annotations }}
|
{{- with $cluster_value.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- range $key, $value := . }}
|
{{- range $key, $value := . }}
|
||||||
{{ $key }}: {{ $value | quote }}
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
@ -19,17 +19,20 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
type: Opaque
|
type: Opaque
|
||||||
stringData:
|
stringData:
|
||||||
name: {{ required "A valid .Values.configs.clusterCredentials[].name entry is required!" .name }}
|
{{- if $cluster_value.shard }}
|
||||||
server: {{ required "A valid .Values.configs.clusterCredentials[].server entry is required!" .server }}
|
shard: {{ $cluster_value.shard | quote }}
|
||||||
{{- if .namespaces }}
|
{{- end }}
|
||||||
namespaces: {{ .namespaces }}
|
name: {{ $cluster_key }}
|
||||||
{{- if .clusterResources }}
|
server: {{ required "A valid .Values.configs.clusterCredentials.CLUSTERNAME.server entry is required!" $cluster_value.server }}
|
||||||
clusterResources: {{ .clusterResources | quote }}
|
{{- if $cluster_value.namespaces }}
|
||||||
|
namespaces: {{ $cluster_value.namespaces }}
|
||||||
|
{{- if $cluster_value.clusterResources }}
|
||||||
|
clusterResources: {{ $cluster_value.clusterResources | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .project }}
|
{{- if $cluster_value.project }}
|
||||||
project: {{ .project | quote }}
|
project: {{ $cluster_value.project | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
config: |
|
config: |
|
||||||
{{- required "A valid .Values.configs.clusterCredentials[].config entry is required!" .config | toRawJson | nindent 4 }}
|
{{- required "A valid .Values.configs.clusterCredentials.CLUSTERNAME.config entry is required!" $cluster_value.config | toRawJson | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.redis.fullname" . }}
|
name: argocd-redis
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
|
||||||
{{- with .Values.externalRedis.secretAnnotations }}
|
{{- with .Values.externalRedis.secretAnnotations }}
|
||||||
|
|
|
@ -4,7 +4,7 @@ apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-repo-creds-{{ $repo_cred_key }}
|
name: argocd-repo-creds-{{ $repo_cred_key }}
|
||||||
namespace: {{ $.Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" $ | quote }}
|
||||||
labels:
|
labels:
|
||||||
argocd.argoproj.io/secret-type: repo-creds
|
argocd.argoproj.io/secret-type: repo-creds
|
||||||
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
|
||||||
|
|
|
@ -4,7 +4,7 @@ apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-repo-{{ $repo_key }}
|
name: argocd-repo-{{ $repo_key }}
|
||||||
namespace: {{ $.Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" $ | quote }}
|
||||||
labels:
|
labels:
|
||||||
argocd.argoproj.io/secret-type: repository
|
argocd.argoproj.io/secret-type: repository
|
||||||
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
|
||||||
|
|
|
@ -12,5 +12,5 @@ roleRef:
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: {{ include "argo-cd.notifications.serviceAccountName" . }}
|
name: {{ include "argo-cd.notifications.serviceAccountName" . }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -9,7 +9,7 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ include "argo-cd.notifications.fullname" . }}
|
name: {{ include "argo-cd.notifications.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
@ -36,6 +36,9 @@ spec:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with .Values.notifications.runtimeClassName | default .Values.global.runtimeClassName }}
|
||||||
|
runtimeClassName: {{ . }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.notifications.imagePullSecrets | default .Values.global.imagePullSecrets }}
|
{{- with .Values.notifications.imagePullSecrets | default .Values.global.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
@ -65,7 +68,7 @@ spec:
|
||||||
- --metrics-port={{ .Values.notifications.containerPorts.metrics }}
|
- --metrics-port={{ .Values.notifications.containerPorts.metrics }}
|
||||||
- --loglevel={{ default .Values.global.logging.level .Values.notifications.logLevel }}
|
- --loglevel={{ default .Values.global.logging.level .Values.notifications.logLevel }}
|
||||||
- --logformat={{ default .Values.global.logging.format .Values.notifications.logFormat }}
|
- --logformat={{ default .Values.global.logging.format .Values.notifications.logFormat }}
|
||||||
- --namespace={{ .Release.Namespace }}
|
- --namespace={{ include "argo-cd.namespace" . }}
|
||||||
- --argocd-repo-server={{ template "argo-cd.repoServer.fullname" . }}:{{ .Values.repoServer.service.port }}
|
- --argocd-repo-server={{ template "argo-cd.repoServer.fullname" . }}:{{ .Values.repoServer.service.port }}
|
||||||
- --secret-name={{ .Values.notifications.secret.name }}
|
- --secret-name={{ .Values.notifications.secret.name }}
|
||||||
{{- range .Values.notifications.extraArgs }}
|
{{- range .Values.notifications.extraArgs }}
|
||||||
|
@ -99,6 +102,12 @@ spec:
|
||||||
key: notificationscontroller.selfservice.enabled
|
key: notificationscontroller.selfservice.enabled
|
||||||
name: argocd-cmd-params-cm
|
name: argocd-cmd-params-cm
|
||||||
optional: true
|
optional: true
|
||||||
|
- name: ARGOCD_NOTIFICATION_CONTROLLER_REPO_SERVER_PLAINTEXT
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
key: notificationscontroller.repo.server.plaintext
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
optional: true
|
||||||
{{- with .Values.notifications.extraEnvFrom }}
|
{{- with .Values.notifications.extraEnvFrom }}
|
||||||
envFrom:
|
envFrom:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
|
@ -107,6 +116,26 @@ spec:
|
||||||
- name: metrics
|
- name: metrics
|
||||||
containerPort: {{ .Values.notifications.containerPorts.metrics }}
|
containerPort: {{ .Values.notifications.containerPorts.metrics }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
{{- if .Values.notifications.livenessProbe.enabled }}
|
||||||
|
livenessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: metrics
|
||||||
|
initialDelaySeconds: {{ .Values.notifications.livenessProbe.initialDelaySeconds }}
|
||||||
|
periodSeconds: {{ .Values.notifications.livenessProbe.periodSeconds }}
|
||||||
|
timeoutSeconds: {{ .Values.notifications.livenessProbe.timeoutSeconds }}
|
||||||
|
successThreshold: {{ .Values.notifications.livenessProbe.successThreshold }}
|
||||||
|
failureThreshold: {{ .Values.notifications.livenessProbe.failureThreshold }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.notifications.readinessProbe.enabled }}
|
||||||
|
readinessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: metrics
|
||||||
|
initialDelaySeconds: {{ .Values.notifications.readinessProbe.initialDelaySeconds }}
|
||||||
|
periodSeconds: {{ .Values.notifications.readinessProbe.periodSeconds }}
|
||||||
|
timeoutSeconds: {{ .Values.notifications.readinessProbe.timeoutSeconds }}
|
||||||
|
successThreshold: {{ .Values.notifications.readinessProbe.successThreshold }}
|
||||||
|
failureThreshold: {{ .Values.notifications.readinessProbe.failureThreshold }}
|
||||||
|
{{- end }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.notifications.resources | nindent 12 }}
|
{{- toYaml .Values.notifications.resources | nindent 12 }}
|
||||||
{{- with .Values.notifications.containerSecurityContext }}
|
{{- with .Values.notifications.containerSecurityContext }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.notifications.fullname" . }}-metrics
|
name: {{ include "argo-cd.notifications.fullname" . }}-metrics
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" "metrics") | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" "metrics") | nindent 4 }}
|
||||||
{{- with .Values.notifications.metrics.service.labels }}
|
{{- with .Values.notifications.metrics.service.labels }}
|
||||||
|
@ -24,6 +24,7 @@ spec:
|
||||||
{{- if and .Values.notifications.metrics.service.clusterIP (eq .Values.notifications.metrics.service.type "ClusterIP") }}
|
{{- if and .Values.notifications.metrics.service.clusterIP (eq .Values.notifications.metrics.service.type "ClusterIP") }}
|
||||||
clusterIP: {{ .Values.notifications.metrics.service.clusterIP }}
|
clusterIP: {{ .Values.notifications.metrics.service.clusterIP }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- include "argo-cd.dualStack" . | indent 2 }}
|
||||||
selector:
|
selector:
|
||||||
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.notifications.name) | nindent 6 }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.notifications.name) | nindent 6 }}
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: networking.k8s.io/v1
|
||||||
kind: NetworkPolicy
|
kind: NetworkPolicy
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.notifications.fullname" . }}
|
name: {{ template "argo-cd.notifications.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: policy/v1
|
||||||
kind: PodDisruptionBudget
|
kind: PodDisruptionBudget
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.notifications.fullname" . }}
|
name: {{ include "argo-cd.notifications.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
|
||||||
{{- with .Values.notifications.pdb.labels }}
|
{{- with .Values.notifications.pdb.labels }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: Role
|
kind: Role
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.notifications.fullname" . }}
|
name: {{ template "argo-cd.notifications.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
|
||||||
rules:
|
rules:
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: RoleBinding
|
kind: RoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.notifications.fullname" . }}
|
name: {{ include "argo-cd.notifications.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
|
||||||
roleRef:
|
roleRef:
|
||||||
|
@ -13,5 +13,5 @@ roleRef:
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: {{ include "argo-cd.notifications.serviceAccountName" . }}
|
name: {{ include "argo-cd.notifications.serviceAccountName" . }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -4,7 +4,7 @@ kind: ServiceAccount
|
||||||
automountServiceAccountToken: {{ .Values.notifications.serviceAccount.automountServiceAccountToken }}
|
automountServiceAccountToken: {{ .Values.notifications.serviceAccount.automountServiceAccountToken }}
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.notifications.serviceAccountName" . }}
|
name: {{ include "argo-cd.notifications.serviceAccountName" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
{{- with .Values.notifications.serviceAccount.annotations }}
|
{{- with .Values.notifications.serviceAccount.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- range $key, $value := . }}
|
{{- range $key, $value := . }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: monitoring.coreos.com/v1
|
||||||
kind: ServiceMonitor
|
kind: ServiceMonitor
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.notifications.fullname" . }}
|
name: {{ template "argo-cd.notifications.fullname" . }}
|
||||||
namespace: {{ default .Release.Namespace .Values.notifications.metrics.serviceMonitor.namespace | quote }}
|
namespace: {{ default (include "argo-cd.namespace" .) .Values.notifications.metrics.serviceMonitor.namespace | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
|
||||||
{{- with .Values.notifications.metrics.serviceMonitor.selector }}
|
{{- with .Values.notifications.metrics.serviceMonitor.selector }}
|
||||||
|
@ -41,9 +41,10 @@ spec:
|
||||||
metricRelabelings:
|
metricRelabelings:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
honorLabels: {{ .Values.notifications.metrics.serviceMonitor.honorLabels }}
|
||||||
namespaceSelector:
|
namespaceSelector:
|
||||||
matchNames:
|
matchNames:
|
||||||
- {{ .Release.Namespace }}
|
- {{ include "argo-cd.namespace" . }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.notifications.name "name" "metrics") | nindent 6 }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.notifications.name "name" "metrics") | nindent 6 }}
|
||||||
|
|
|
@ -12,5 +12,5 @@ roleRef:
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: {{ include "argo-cd.repoServer.serviceAccountName" . }}
|
name: {{ include "argo-cd.repoServer.serviceAccountName" . }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -8,7 +8,7 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ template "argo-cd.repoServer.fullname" . }}
|
name: {{ template "argo-cd.repoServer.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
@ -47,6 +47,9 @@ spec:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with .Values.repoServer.runtimeClassName | default .Values.global.runtimeClassName }}
|
||||||
|
runtimeClassName: {{ . }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.repoServer.imagePullSecrets | default .Values.global.imagePullSecrets }}
|
{{- with .Values.repoServer.imagePullSecrets | default .Values.global.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
@ -175,14 +178,30 @@ spec:
|
||||||
- name: REDIS_USERNAME
|
- name: REDIS_USERNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
name: {{ default "argocd-redis" .Values.externalRedis.existingSecret }}
|
||||||
key: redis-username
|
key: redis-username
|
||||||
optional: true
|
optional: true
|
||||||
- name: REDIS_PASSWORD
|
- name: REDIS_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
name: {{ default "argocd-redis" .Values.externalRedis.existingSecret }}
|
||||||
|
{{- if .Values.externalRedis.host }}
|
||||||
key: redis-password
|
key: redis-password
|
||||||
|
{{- else }}
|
||||||
|
key: auth
|
||||||
|
{{- end }}
|
||||||
|
optional: true
|
||||||
|
- name: REDIS_SENTINEL_USERNAME
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
||||||
|
key: redis-sentinel-username
|
||||||
|
optional: true
|
||||||
|
- name: REDIS_SENTINEL_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
||||||
|
key: redis-sentinel-password
|
||||||
optional: true
|
optional: true
|
||||||
- name: ARGOCD_DEFAULT_CACHE_EXPIRATION
|
- name: ARGOCD_DEFAULT_CACHE_EXPIRATION
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
@ -220,6 +239,12 @@ spec:
|
||||||
name: argocd-cmd-params-cm
|
name: argocd-cmd-params-cm
|
||||||
key: reposerver.plugin.tar.exclusions
|
key: reposerver.plugin.tar.exclusions
|
||||||
optional: true
|
optional: true
|
||||||
|
- name: ARGOCD_REPO_SERVER_PLUGIN_USE_MANIFEST_GENERATE_PATHS
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
key: reposerver.plugin.use.manifest.generate.paths
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
optional: true
|
||||||
- name: ARGOCD_REPO_SERVER_ALLOW_OUT_OF_BOUNDS_SYMLINKS
|
- name: ARGOCD_REPO_SERVER_ALLOW_OUT_OF_BOUNDS_SYMLINKS
|
||||||
valueFrom:
|
valueFrom:
|
||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
|
@ -268,6 +293,18 @@ spec:
|
||||||
key: reposerver.git.request.timeout
|
key: reposerver.git.request.timeout
|
||||||
name: argocd-cmd-params-cm
|
name: argocd-cmd-params-cm
|
||||||
optional: true
|
optional: true
|
||||||
|
- name: ARGOCD_REVISION_CACHE_LOCK_TIMEOUT
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
key: reposerver.revision.cache.lock.timeout
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_REPO_SERVER_INCLUDE_HIDDEN_DIRECTORIES
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
key: reposerver.include.hidden.directories
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
optional: true
|
||||||
{{- if .Values.repoServer.useEphemeralHelmWorkingDir }}
|
{{- if .Values.repoServer.useEphemeralHelmWorkingDir }}
|
||||||
- name: HELM_CACHE_HOME
|
- name: HELM_CACHE_HOME
|
||||||
value: /helm-working-dir
|
value: /helm-working-dir
|
||||||
|
@ -349,10 +386,8 @@ spec:
|
||||||
image: {{ default .Values.global.image.repository .Values.repoServer.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.repoServer.image.tag }}
|
image: {{ default .Values.global.image.repository .Values.repoServer.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.repoServer.image.tag }}
|
||||||
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.repoServer.image.imagePullPolicy }}
|
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.repoServer.image.imagePullPolicy }}
|
||||||
name: copyutil
|
name: copyutil
|
||||||
{{- with .Values.repoServer.resources }}
|
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml .Values.repoServer.resources | nindent 10 }}
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.repoServer.containerSecurityContext }}
|
{{- with .Values.repoServer.containerSecurityContext }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: autoscaling/v2
|
||||||
kind: HorizontalPodAutoscaler
|
kind: HorizontalPodAutoscaler
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.repoServer.fullname" . }}
|
name: {{ include "argo-cd.repoServer.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.repoServer.fullname" . }}-metrics
|
name: {{ include "argo-cd.repoServer.fullname" . }}-metrics
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" (printf "%s-metrics" .Values.repoServer.name)) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" (printf "%s-metrics" .Values.repoServer.name)) | nindent 4 }}
|
||||||
{{- with .Values.repoServer.metrics.service.labels }}
|
{{- with .Values.repoServer.metrics.service.labels }}
|
||||||
|
@ -24,6 +24,7 @@ spec:
|
||||||
{{- if and .Values.repoServer.metrics.service.clusterIP (eq .Values.repoServer.metrics.service.type "ClusterIP") }}
|
{{- if and .Values.repoServer.metrics.service.clusterIP (eq .Values.repoServer.metrics.service.type "ClusterIP") }}
|
||||||
clusterIP: {{ .Values.repoServer.metrics.service.clusterIP }}
|
clusterIP: {{ .Values.repoServer.metrics.service.clusterIP }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- include "argo-cd.dualStack" . | indent 2 }}
|
||||||
ports:
|
ports:
|
||||||
- name: {{ .Values.repoServer.metrics.service.portName }}
|
- name: {{ .Values.repoServer.metrics.service.portName }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
||||||
name: {{ template "argo-cd.repoServer.fullname" . }}
|
name: {{ template "argo-cd.repoServer.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
spec:
|
spec:
|
||||||
ingress:
|
ingress:
|
||||||
- from:
|
- from:
|
||||||
|
@ -20,11 +20,9 @@ spec:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.notifications.name) | nindent 10 }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.notifications.name) | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.applicationSet.enabled }}
|
|
||||||
- podSelector:
|
- podSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.applicationSet.name) | nindent 10 }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.applicationSet.name) | nindent 10 }}
|
||||||
{{- end }}
|
|
||||||
ports:
|
ports:
|
||||||
- port: repo-server
|
- port: repo-server
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: policy/v1
|
||||||
kind: PodDisruptionBudget
|
kind: PodDisruptionBudget
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.repoServer.fullname" . }}
|
name: {{ include "argo-cd.repoServer.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
||||||
{{- with .Values.repoServer.pdb.labels }}
|
{{- with .Values.repoServer.pdb.labels }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: Role
|
kind: Role
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.repoServer.fullname" . }}
|
name: {{ template "argo-cd.repoServer.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
||||||
rules:
|
rules:
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: RoleBinding
|
kind: RoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.repoServer.fullname" . }}
|
name: {{ include "argo-cd.repoServer.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
||||||
roleRef:
|
roleRef:
|
||||||
|
@ -13,5 +13,5 @@ roleRef:
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: {{ include "argo-cd.repoServer.serviceAccountName" . }}
|
name: {{ include "argo-cd.repoServer.serviceAccountName" . }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -13,12 +13,13 @@ metadata:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ template "argo-cd.repoServer.fullname" . }}
|
name: {{ template "argo-cd.repoServer.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- include "argo-cd.dualStack" . | indent 2 }}
|
||||||
ports:
|
ports:
|
||||||
- name: {{ .Values.repoServer.service.portName }}
|
- name: {{ .Values.repoServer.service.portName }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
port: {{ .Values.repoServer.service.port }}
|
port: {{ .Values.repoServer.service.port }}
|
||||||
targetPort: repo-server
|
targetPort: repo-server
|
||||||
selector:
|
selector:
|
||||||
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.repoServer.name) | nindent 4 }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.repoServer.name) | nindent 4 }}
|
||||||
|
|
|
@ -4,7 +4,7 @@ kind: ServiceAccount
|
||||||
automountServiceAccountToken: {{ .Values.repoServer.serviceAccount.automountServiceAccountToken }}
|
automountServiceAccountToken: {{ .Values.repoServer.serviceAccount.automountServiceAccountToken }}
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.repoServer.serviceAccountName" . }}
|
name: {{ include "argo-cd.repoServer.serviceAccountName" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
{{- with .Values.repoServer.serviceAccount.annotations }}
|
{{- with .Values.repoServer.serviceAccount.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- range $key, $value := . }}
|
{{- range $key, $value := . }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: monitoring.coreos.com/v1
|
||||||
kind: ServiceMonitor
|
kind: ServiceMonitor
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.repoServer.fullname" . }}
|
name: {{ template "argo-cd.repoServer.fullname" . }}
|
||||||
namespace: {{ default .Release.Namespace .Values.repoServer.metrics.serviceMonitor.namespace | default }}
|
namespace: {{ default (include "argo-cd.namespace" .) .Values.repoServer.metrics.serviceMonitor.namespace | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
|
||||||
{{- with .Values.repoServer.metrics.serviceMonitor.selector }}
|
{{- with .Values.repoServer.metrics.serviceMonitor.selector }}
|
||||||
|
@ -34,6 +34,7 @@ spec:
|
||||||
metricRelabelings:
|
metricRelabelings:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
honorLabels: {{ .Values.repoServer.metrics.serviceMonitor.honorLabels }}
|
||||||
{{- with .Values.repoServer.metrics.serviceMonitor.scheme }}
|
{{- with .Values.repoServer.metrics.serviceMonitor.scheme }}
|
||||||
scheme: {{ . }}
|
scheme: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -43,7 +44,7 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
namespaceSelector:
|
namespaceSelector:
|
||||||
matchNames:
|
matchNames:
|
||||||
- {{ .Release.Namespace }}
|
- {{ include "argo-cd.namespace" . }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.repoServer.name "name" (printf "%s-metrics" .Values.repoServer.name)) | nindent 6 }}
|
{{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.repoServer.name "name" (printf "%s-metrics" .Values.repoServer.name)) | nindent 6 }}
|
||||||
|
|
|
@ -5,7 +5,7 @@ apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.server.fullname" . }}
|
name: {{ include "argo-cd.server.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
{{- with .Values.server.ingress.labels }}
|
{{- with .Values.server.ingress.labels }}
|
||||||
|
|
|
@ -7,8 +7,9 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" (print .Values.server.name "-gprc") "name" (print .Values.server.name "-grpc")) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" (print .Values.server.name "-gprc") "name" (print .Values.server.name "-grpc")) | nindent 4 }}
|
||||||
name: {{ template "argo-cd.server.fullname" . }}-grpc
|
name: {{ template "argo-cd.server.fullname" . }}-grpc
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- include "argo-cd.dualStack" . | indent 2 }}
|
||||||
ports:
|
ports:
|
||||||
- name: {{ .Values.server.service.servicePortHttpName }}
|
- name: {{ .Values.server.service.servicePortHttpName }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
|
@ -9,11 +9,18 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ include "argo-cd.server.fullname" . }}
|
name: {{ include "argo-cd.server.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
secretName: {{ .Values.server.certificate.secretName }}
|
{{- with .Values.server.certificate.secretTemplateAnnotations }}
|
||||||
|
secretTemplate:
|
||||||
|
annotations:
|
||||||
|
{{- range $key, $value := . }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
secretName: argocd-server-tls
|
||||||
commonName: {{ .Values.server.certificate.domain | default .Values.global.domain }}
|
commonName: {{ .Values.server.certificate.domain | default .Values.global.domain }}
|
||||||
dnsNames:
|
dnsNames:
|
||||||
- {{ .Values.server.certificate.domain | default .Values.global.domain }}
|
- {{ .Values.server.certificate.domain | default .Values.global.domain }}
|
||||||
|
|
|
@ -14,25 +14,23 @@ rules:
|
||||||
resources:
|
resources:
|
||||||
- '*'
|
- '*'
|
||||||
verbs:
|
verbs:
|
||||||
- delete
|
- delete # supports deletion a live object in UI
|
||||||
- get
|
- get # supports viewing live object manifest in UI
|
||||||
- patch
|
- patch # supports `argocd app patch`
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
resources:
|
resources:
|
||||||
- events
|
- events
|
||||||
verbs:
|
verbs:
|
||||||
- list
|
- list # supports listing events in UI
|
||||||
{{- if (index .Values.configs.params "application.namespaces") }}
|
|
||||||
- create
|
- create
|
||||||
{{- end }}
|
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
resources:
|
resources:
|
||||||
- pods
|
- pods
|
||||||
- pods/log
|
- pods/log
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get # supports viewing pod logs from UI
|
||||||
{{- if eq (toString (index .Values.configs.cm "exec.enabled")) "true" }}
|
{{- if eq (toString (index .Values.configs.cm "exec.enabled")) "true" }}
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
|
|
|
@ -12,5 +12,5 @@ roleRef:
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: {{ include "argo-cd.server.serviceAccountName" . }}
|
name: {{ include "argo-cd.server.serviceAccountName" . }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -8,7 +8,7 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ template "argo-cd.server.fullname" . }}
|
name: {{ template "argo-cd.server.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
@ -41,6 +41,9 @@ spec:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- with .Values.server.runtimeClassName | default .Values.global.runtimeClassName }}
|
||||||
|
runtimeClassName: {{ . }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.server.imagePullSecrets | default .Values.global.imagePullSecrets }}
|
{{- with .Values.server.imagePullSecrets | default .Values.global.imagePullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
@ -243,14 +246,30 @@ spec:
|
||||||
- name: REDIS_USERNAME
|
- name: REDIS_USERNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
name: {{ default "argocd-redis" .Values.externalRedis.existingSecret }}
|
||||||
key: redis-username
|
key: redis-username
|
||||||
optional: true
|
optional: true
|
||||||
- name: REDIS_PASSWORD
|
- name: REDIS_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
name: {{ default "argocd-redis" .Values.externalRedis.existingSecret }}
|
||||||
|
{{- if .Values.externalRedis.host }}
|
||||||
key: redis-password
|
key: redis-password
|
||||||
|
{{- else }}
|
||||||
|
key: auth
|
||||||
|
{{- end }}
|
||||||
|
optional: true
|
||||||
|
- name: REDIS_SENTINEL_USERNAME
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
||||||
|
key: redis-sentinel-username
|
||||||
|
optional: true
|
||||||
|
- name: REDIS_SENTINEL_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
|
||||||
|
key: redis-sentinel-password
|
||||||
optional: true
|
optional: true
|
||||||
- name: ARGOCD_DEFAULT_CACHE_EXPIRATION
|
- name: ARGOCD_DEFAULT_CACHE_EXPIRATION
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
@ -324,6 +343,42 @@ spec:
|
||||||
name: argocd-cmd-params-cm
|
name: argocd-cmd-params-cm
|
||||||
key: server.api.content.types
|
key: server.api.content.types
|
||||||
optional: true
|
optional: true
|
||||||
|
- name: ARGOCD_SERVER_WEBHOOK_PARALLELISM_LIMIT
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: server.webhook.parallelism.limit
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_NEW_GIT_FILE_GLOBBING
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
key: applicationsetcontroller.enable.new.git.file.globbing
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATIONSET_CONTROLLER_SCM_ROOT_CA_PATH
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
key: applicationsetcontroller.scm.root.ca.path
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATIONSET_CONTROLLER_ALLOWED_SCM_PROVIDERS
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: applicationsetcontroller.allowed.scm.providers
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_SCM_PROVIDERS
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: applicationsetcontroller.enable.scm.providers
|
||||||
|
optional: true
|
||||||
|
- name: ARGOCD_HYDRATOR_ENABLED
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: hydrator.enabled
|
||||||
|
optional: true
|
||||||
{{- with .Values.server.envFrom }}
|
{{- with .Values.server.envFrom }}
|
||||||
envFrom:
|
envFrom:
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
|
@ -346,6 +401,8 @@ spec:
|
||||||
name: styles
|
name: styles
|
||||||
- mountPath: /tmp
|
- mountPath: /tmp
|
||||||
name: tmp
|
name: tmp
|
||||||
|
- name: argocd-cmd-params-cm
|
||||||
|
mountPath: /home/argocd/params
|
||||||
{{- if .Values.server.extensions.enabled }}
|
{{- if .Values.server.extensions.enabled }}
|
||||||
- mountPath: /tmp/extensions
|
- mountPath: /tmp/extensions
|
||||||
name: extensions
|
name: extensions
|
||||||
|
@ -494,6 +551,13 @@ spec:
|
||||||
path: tls.crt
|
path: tls.crt
|
||||||
- key: ca.crt
|
- key: ca.crt
|
||||||
path: ca.crt
|
path: ca.crt
|
||||||
|
- name: argocd-cmd-params-cm
|
||||||
|
configMap:
|
||||||
|
optional: true
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
items:
|
||||||
|
- key: server.profile.enabled
|
||||||
|
path: profiler.enabled
|
||||||
{{- if .Values.server.hostNetwork }}
|
{{- if .Values.server.hostNetwork }}
|
||||||
hostNetwork: {{ .Values.server.hostNetwork }}
|
hostNetwork: {{ .Values.server.hostNetwork }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: cloud.google.com/v1
|
||||||
kind: BackendConfig
|
kind: BackendConfig
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.server.fullname" . }}
|
name: {{ include "argo-cd.server.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
{{- with .Values.server.ingress.gke.backendConfig }}
|
{{- with .Values.server.ingress.gke.backendConfig }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: networking.gke.io/v1beta1
|
||||||
kind: FrontendConfig
|
kind: FrontendConfig
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.server.fullname" . }}
|
name: {{ include "argo-cd.server.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
{{- with .Values.server.ingress.gke.frontendConfig }}
|
{{- with .Values.server.ingress.gke.frontendConfig }}
|
||||||
|
|
|
@ -5,7 +5,7 @@ apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.server.fullname" . }}
|
name: {{ include "argo-cd.server.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
{{- with .Values.server.ingress.labels }}
|
{{- with .Values.server.ingress.labels }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: networking.gke.io/v1
|
||||||
kind: ManagedCertificate
|
kind: ManagedCertificate
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.server.fullname" . }}
|
name: {{ include "argo-cd.server.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: autoscaling/v2
|
||||||
kind: HorizontalPodAutoscaler
|
kind: HorizontalPodAutoscaler
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.server.fullname" . }}
|
name: {{ include "argo-cd.server.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -4,7 +4,7 @@ apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.server.fullname" . }}-grpc
|
name: {{ include "argo-cd.server.fullname" . }}-grpc
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
{{- with .Values.server.ingressGrpc.labels }}
|
{{- with .Values.server.ingressGrpc.labels }}
|
||||||
|
|
|
@ -5,24 +5,24 @@ apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.server.fullname" . }}
|
name: {{ include "argo-cd.server.fullname" . }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
|
||||||
{{- with .Values.server.ingress.labels }}
|
{{- with .Values.server.ingress.labels }}
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- tpl (toYaml .) $ | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.server.ingress.annotations }}
|
{{- with .Values.server.ingress.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- range $key, $value := . }}
|
{{- range $key, $value := . }}
|
||||||
{{ $key }}: {{ $value | quote }}
|
{{ $key }}: {{ tpl (toString $value) $ | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- with .Values.server.ingress.ingressClassName }}
|
{{- with .Values.server.ingress.ingressClassName }}
|
||||||
ingressClassName: {{ . }}
|
ingressClassName: {{ tpl . $ }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
rules:
|
rules:
|
||||||
- host: {{ .Values.server.ingress.hostname | default .Values.global.domain }}
|
- host: {{ tpl (.Values.server.ingress.hostname) $ | default .Values.global.domain }}
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
{{- with .Values.server.ingress.extraPaths }}
|
{{- with .Values.server.ingress.extraPaths }}
|
||||||
|
@ -36,7 +36,7 @@ spec:
|
||||||
port:
|
port:
|
||||||
number: {{ $servicePort }}
|
number: {{ $servicePort }}
|
||||||
{{- range .Values.server.ingress.extraHosts }}
|
{{- range .Values.server.ingress.extraHosts }}
|
||||||
- host: {{ .name | quote }}
|
- host: {{ tpl .name $ | quote }}
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: {{ default $.Values.server.ingress.path .path }}
|
- path: {{ default $.Values.server.ingress.path .path }}
|
||||||
|
@ -54,16 +54,16 @@ spec:
|
||||||
tls:
|
tls:
|
||||||
{{- if .Values.server.ingress.tls }}
|
{{- if .Values.server.ingress.tls }}
|
||||||
- hosts:
|
- hosts:
|
||||||
- {{ .Values.server.ingress.hostname | default .Values.global.domain }}
|
- {{ tpl (.Values.server.ingress.hostname) $ | default .Values.global.domain }}
|
||||||
{{- range .Values.server.ingress.extraHosts }}
|
{{- range .Values.server.ingress.extraHosts }}
|
||||||
{{- if .name }}
|
{{- if .name }}
|
||||||
- {{ .name }}
|
- {{ tpl .name $ }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
secretName: argocd-server-tls
|
secretName: argocd-server-tls
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.server.ingress.extraTls }}
|
{{- with .Values.server.ingress.extraTls }}
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- tpl (toYaml .) $ | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.server.fullname" . }}-metrics
|
name: {{ include "argo-cd.server.fullname" . }}-metrics
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ include "argo-cd.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" (printf "%s-metrics" .Values.server.name)) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" (printf "%s-metrics" .Values.server.name)) | nindent 4 }}
|
||||||
{{- with .Values.server.metrics.service.labels }}
|
{{- with .Values.server.metrics.service.labels }}
|
||||||
|
@ -24,6 +24,7 @@ spec:
|
||||||
{{- if and .Values.server.metrics.service.clusterIP (eq .Values.server.metrics.service.type "ClusterIP") }}
|
{{- if and .Values.server.metrics.service.clusterIP (eq .Values.server.metrics.service.type "ClusterIP") }}
|
||||||
clusterIP: {{ .Values.server.metrics.service.clusterIP }}
|
clusterIP: {{ .Values.server.metrics.service.clusterIP }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- include "argo-cd.dualStack" . | indent 2 }}
|
||||||
ports:
|
ports:
|
||||||
- name: {{ .Values.server.metrics.service.portName }}
|
- name: {{ .Values.server.metrics.service.portName }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue