Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: removed eventReporter.enabled condition to use new reporter always #2881

Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
162 commits
Select commit Hold shift + click to select a range
1a55354
initialize argo-cd
ilia-medvedev-codefresh Dec 25, 2022
2a20c44
test
ilia-medvedev-codefresh Dec 25, 2022
0bd0298
changes to pipelines
ilia-medvedev-codefresh Dec 25, 2022
3a6b06a
Merge remote-tracking branch 'origin/argo-cd' into test-change-argo-cd
ilia-medvedev-codefresh Dec 25, 2022
2fdb695
change to cf images
ilia-medvedev-codefresh Dec 25, 2022
26d1950
fix doc
ilia-medvedev-codefresh Dec 25, 2022
8c9f38a
disabled notifications controller
ilia-medvedev-codefresh Dec 25, 2022
d208bfd
disabled notifications controller
ilia-medvedev-codefresh Dec 25, 2022
833359e
adjust appset controller
ilia-medvedev-codefresh Dec 25, 2022
2b99d3d
Merge pull request #1 from codefresh-io/test-change-argo-cd
ilia-medvedev-codefresh Dec 25, 2022
7db4963
init
ilia-medvedev-codefresh Dec 25, 2022
9428767
init
ilia-medvedev-codefresh Dec 25, 2022
d6f3465
release specific chart only
ilia-medvedev-codefresh Dec 26, 2022
0694db8
vers
ilia-medvedev-codefresh Dec 26, 2022
4befcd5
Update Chart.yaml (#4)
ilia-medvedev-codefresh Jan 23, 2023
9591bf1
Update chart to 5.16.0 (#5)
ilia-medvedev-codefresh Feb 2, 2023
b21dfe0
merge 5.27.1
ilia-medvedev-codefresh Mar 22, 2023
7e0d697
merge 5.27.1
ilia-medvedev-codefresh Mar 22, 2023
27e4ddb
merge 5.27.1
ilia-medvedev-codefresh Mar 22, 2023
30b338a
Update argocd to 2.6 and chart to 5.27.1 (#7)
ilia-medvedev-codefresh Mar 22, 2023
09e6ec4
align applicationset with upstream
ilia-medvedev-codefresh Apr 9, 2023
4b11ca2
merge 5.28.1
ilia-medvedev-codefresh Apr 9, 2023
1961400
Merge pull request #9 from codefresh-io/align-applicationset
ilia-medvedev-codefresh Apr 9, 2023
cb51dec
Remove overwrite of configs.cm."application.instanceLabelKey"
danielm-codefresh Apr 20, 2023
c6bc64b
Merge pull request #11 from codefresh-io/fix-instance-label-key
danielm-codefresh Apr 20, 2023
4e108af
bumped version to `v2.6.0-cap-CR-18430-del-app`
ATGardner May 22, 2023
9da010b
Merge pull request #12 from codefresh-io/CR-18430-del-git-source
ATGardner May 22, 2023
f858ab6
Create new workflow for copy Redis image to Quay
shirtabachii Jul 9, 2023
337f351
Create new workflow for copy Redis image to Quay
shirtabachii Jul 9, 2023
43a84e4
Create new workflow for copy Redis image to Quay
shirtabachii Jul 9, 2023
34e3157
Create new workflow for copy Redis image to Quay
shirtabachii Jul 9, 2023
3931c8e
Create new workflow for copy Redis image to Quay
shirtabachii Jul 10, 2023
86ad9ce
Rename copy-redis-image.yml to codefresh-copy-redis-image.yml
ilia-medvedev-codefresh Jul 10, 2023
079305b
Merge pull request #13 from codefresh-io/argocd/cr-19101-copy-redis-i…
shirtabachii Jul 10, 2023
7a78814
upgrade argocd
ilia-medvedev-codefresh Jul 11, 2023
f670c9c
Merge pull request #14 from codefresh-io/upgrade-argocd-2.7
ilia-medvedev-codefresh Jul 11, 2023
4d0a645
shorten chart version
ilia-medvedev-codefresh Jul 11, 2023
3a8d94d
Merge pull request #15 from codefresh-io/shorten-release-name
ilia-medvedev-codefresh Jul 11, 2023
69064e2
Argo cd update chart (#19)
yaroslav-codefresh Aug 24, 2023
c7e0546
Argo-cd 2.8 + merge upstream 5.46.2 (#21)
yaroslav-codefresh Sep 12, 2023
c12047f
update argo-cd to v2.8.1-cap-CR-player-and-vuln-fix (#22)
yaroslav-codefresh Sep 26, 2023
3776b30
feat: update argocd to v2.8.1-cap-CR-not-setup-kustomize-ns version
pasha-codefresh Oct 4, 2023
74766d4
add kustomize.setNamespace.enabled param in readme
pasha-codefresh Oct 4, 2023
61b50b1
add kustomize.setNamespace.enabled param in readme
pasha-codefresh Oct 4, 2023
f490789
Merge pull request #27 from codefresh-io/feat/not-setup-kustomize-ns
pasha-codefresh Oct 4, 2023
78c7162
Upgrade ArgoCD
danielm-codefresh Nov 2, 2023
6c8c485
update helm chart testing action
ilia-medvedev-codefresh Nov 2, 2023
5add6e6
update helm chart testing action
ilia-medvedev-codefresh Nov 2, 2023
af9deb5
update helm chart testing action
ilia-medvedev-codefresh Nov 2, 2023
63013fc
Merge pull request #29 from codefresh-io/upgrade-argo-cd
danielm-codefresh Nov 3, 2023
f37a36f
update templates and values
ilia-medvedev-codefresh Nov 15, 2023
82e2bf4
update templates and values
ilia-medvedev-codefresh Nov 15, 2023
e7cb326
switch redis repo
ilia-medvedev-codefresh Nov 15, 2023
0b0940e
switch redis repo
ilia-medvedev-codefresh Nov 15, 2023
8925cc8
fix other charts issues
ilia-medvedev-codefresh Nov 15, 2023
4eed965
Merge pull request #30 from codefresh-io/argocd-update-templates-5.50.1
ilia-medvedev-codefresh Nov 16, 2023
f44327f
CR-21441 -- add event reporter as argocd component (#31)
yaroslav-codefresh Nov 28, 2023
28cfbb9
add workflow dispatch
ilia-medvedev-codefresh Nov 29, 2023
b226367
remove wf dispatch
ilia-medvedev-codefresh Nov 29, 2023
7d123e9
Update artifacthub changelog
ilia-medvedev-codefresh Nov 29, 2023
7fd7b93
Argocd latest fixes (#33)
yaroslav-codefresh Dec 5, 2023
c3916ee
Release argo-cd 2.9.3 (#34)
yaroslav-codefresh Dec 8, 2023
370482c
feat: update argocd to 2.9-2023.12.22-f5398c630
pasha-codefresh Dec 26, 2023
c5b3900
Merge pull request #38 from codefresh-io/feat/update-argocd-2023.12.2…
pasha-codefresh Dec 26, 2023
6376f1d
feat: update argocd to 2.9-2023.12.28-a52e719a5
pasha-codefresh Dec 28, 2023
8914529
Merge pull request #41 from codefresh-io/feat/update-argocd-2.9-2023.…
pasha-codefresh Dec 28, 2023
4d29521
add server root path (#43)
yaroslav-codefresh Jan 4, 2024
78e428a
updgrade to argo-cd v2.9-2024.01.17-0d221227f
oleksandr-codefresh Jan 17, 2024
d619056
Merge pull request #44 from codefresh-io/CR-22172-argo-cd-bump
oleksandr-codefresh Jan 17, 2024
04d0534
ARGOCD_APPLICATION_NAMESPACES env for argo-cd.event-reporter
oleksandr-codefresh Jan 22, 2024
ea056aa
Merge pull request #45 from codefresh-io/CR-22172-event-reporter-env-var
oleksandr-codefresh Jan 22, 2024
8b1d69e
Upgrade Argo CD to v2.9-2024.1.22-375d827f3
oleksandr-codefresh Jan 22, 2024
bbd3cf8
Merge pull request #47 from codefresh-io/CR-22322-httpclient-appnames…
oleksandr-codefresh Jan 22, 2024
51bf7df
new argo-cd release
oleksandr-codefresh Jan 24, 2024
7c10e3b
Merge pull request #48 from codefresh-io/CR-22268-argo-vuln-fix
oleksandr-codefresh Jan 24, 2024
c57fddf
resolve conflicts
mikhail-klimko Jan 31, 2024
1746e54
bump Chart.yaml
mikhail-klimko Jan 31, 2024
8ad3aa6
helm-docs
mikhail-klimko Jan 31, 2024
f07602c
Merge pull request #55 from codefresh-io/argo-cd-5.53.12
mikhail-klimko Feb 1, 2024
6449e53
argo-cd update: With critical vulnerability fixes revert and argo-cd …
oleksandr-codefresh Feb 8, 2024
4b5e6b1
update version
oleksandr-codefresh Feb 8, 2024
1d6db1b
Merge pull request #57 from codefresh-io/CR-cd-vuln-fix-revert
oleksandr-codefresh Feb 8, 2024
4878df5
version config
andrii-codefresh Feb 15, 2024
c6f9897
version
andrii-codefresh Feb 15, 2024
26483c2
configuration
andrii-codefresh Feb 15, 2024
73a5e68
update enable versioning values
denis-codefresh Feb 15, 2024
2eccf93
fix trailing space
denis-codefresh Feb 15, 2024
0b3877e
split to 2 values for more granular configuration
denis-codefresh Feb 15, 2024
d9ee25b
update docs
denis-codefresh Feb 15, 2024
3486ada
update argocd
denis-codefresh Feb 15, 2024
5558810
rename codefresh appversion envs
denis-codefresh Feb 15, 2024
aff3fa6
update argocd version
denis-codefresh Feb 15, 2024
d17ce39
Merge pull request #58 from codefresh-io/version-config
denis-codefresh Feb 15, 2024
0ffb9f3
upgrade argocd
denis-codefresh Feb 23, 2024
907f97b
Merge pull request #59 from codefresh-io/argocd-revert-app-versions
denis-codefresh Feb 23, 2024
5964801
app versions
andrii-codefresh Feb 29, 2024
202f17b
Merge pull request #60 from codefresh-io/version-config-2
pasha-codefresh Feb 29, 2024
0c60db0
Enable event reporter 2.0 by default + return rate limiter (#62)
yaroslav-codefresh Mar 5, 2024
34d497d
update argo-cd with updated format of jsonPath
andrii-codefresh Mar 12, 2024
69c82c3
Merge pull request #63 from codefresh-io/version-config-format
andrii-codefresh Mar 12, 2024
e850862
fix default version config
andrii-codefresh Mar 14, 2024
c4de0ef
Merge pull request #64 from codefresh-io/fix-default-version-config
andrii-codefresh Mar 14, 2024
9997f26
feat: update argocd to 2.9-2024.3.17-6fd9979e1
pasha-codefresh Mar 17, 2024
0acc3d5
Merge pull request #65 from codefresh-io/argocd-session-manager
pasha-codefresh Mar 17, 2024
812c047
Merge branch '5.55' into CR-22894-argo-2.10-helm-5.55
oleksandr-codefresh Mar 21, 2024
3475bc9
Upgrade Argo CD to v2.10-2024.3.26-681ab3018
oleksandr-codefresh Mar 26, 2024
417c75c
2.10-2024.3.29-8acbc5d5f
andrii-codefresh Mar 29, 2024
a2c05b0
Merge pull request #70 from codefresh-io/2.10-2024.3.29-8acbc5d5f
andrii-codefresh Mar 29, 2024
ea5d88f
image with security fixes 2.10-2024.3.29-1dcc54e29 (ubuntu bump)
oleksandr-codefresh Apr 9, 2024
84a144b
argo-cd v2.9-2024.4.10-dcc1723fd
andrii-codefresh Apr 10, 2024
f82dfae
fix linter
andrii-codefresh Apr 10, 2024
82d6085
Merge pull request #71 from codefresh-io/CR-23032-argo-cd-2-9-2024-4-…
andrii-codefresh Apr 10, 2024
60850f9
Change helm/chart-releaser step version to 1.5.0
shirtabachii Apr 10, 2024
142a967
Merge branch 'argo-cd' into CR-22894-argo-cd-2-10-helm-5-55
oleksandr-codefresh Apr 10, 2024
ca1ded9
Merge pull request #69 from codefresh-io/CR-22894-argo-cd-2-10-helm-5-55
oleksandr-codefresh Apr 12, 2024
d426070
update argocd from upstream
ilia-medvedev-codefresh May 9, 2024
cfe9975
update argocd from upstream - updatde docs
ilia-medvedev-codefresh May 9, 2024
27e6599
update argocd from upstream - disable event reporter in new values file
ilia-medvedev-codefresh May 9, 2024
5d3a961
Argocd - upgrade chart to 6.7.18
ilia-medvedev-codefresh May 9, 2024
7fd86bd
Remove filter from publish action
ilia-medvedev-codefresh May 9, 2024
0373193
Change url in values file for ArgoCD
ilia-medvedev-codefresh May 9, 2024
2872af2
add `.Values.cf-notifications` overrides to argocd-notifications-cm
ATGardner May 12, 2024
d303a4e
read values from `cf-notifications.context` as well (not used currently)
ATGardner May 12, 2024
15d5190
renamed `cf-notifications` to `cfNotifications`
ATGardner May 12, 2024
3da01ce
removed empty line
ATGardner May 12, 2024
6e65e03
moved cf stuff into `codefresh` root element
ATGardner May 12, 2024
36ae990
move `subscriptions` into the `with` clause
ATGardner May 12, 2024
6b60d78
simpler append of subscriptions
ATGardner May 12, 2024
219c170
added root values.yaml to gitignore
ATGardner May 12, 2024
7134cd2
fixed notifiers and subscriptions
ATGardner May 12, 2024
377d0a0
removed empty line
ATGardner May 12, 2024
ea155a8
Merge pull request #73 from codefresh-io/CR-23481-cf-notifications-va…
ATGardner May 13, 2024
aee4c58
Revert notifications controller changes done for promotions
ATGardner May 15, 2024
f98f2f4
Security - Redis authentication - cherry pick from https://github.com…
ilia-medvedev-codefresh May 15, 2024
792790f
event-reporter / statefulset: added codefresh cert secret volumes
oleksandr-codefresh Jun 12, 2024
f0aa4c5
event-reporter / statefulset: changed env CODEFRESH_SSL_CERT_PATH
oleksandr-codefresh Jun 12, 2024
c082d70
feat: 2.10 with v2 event-reporter suuport of CA for codefresh
oleksandr-codefresh Jun 17, 2024
856d6ef
Merge pull request #78 from codefresh-io/CR-23749-argo-cd-event-repor…
oleksandr-codefresh Jun 17, 2024
8a22281
Merge branch 'refs/heads/argo-cd-6.11.1-branch' into CR-23980-update-…
oleksandr-codefresh Jun 18, 2024
b1ff2a3
argo-cd: v2.11-2024.6.18-a171b066e
oleksandr-codefresh Jun 18, 2024
f48da0d
Merge pull request #80 from codefresh-io/CR-23980-argo-cd-chart-updat…
oleksandr-codefresh Jun 26, 2024
31b3d61
argo-cd v2.11-2024.6.26-5cebdff8d with fixes for application metadata…
oleksandr-codefresh Jul 2, 2024
7ec1712
Merge pull request #81 from codefresh-io/CR-23599-argo-cd-metadata-re…
oleksandr-codefresh Jul 2, 2024
218b12a
argo cd v2.11-2024.7.2-c9bad168e
oleksandr-codefresh Jul 3, 2024
4aa9cab
Merge pull request #83 from codefresh-io/CR-23822-argo-cd-wrong-commi…
oleksandr-codefresh Jul 3, 2024
5f5e299
chore: update argo-cd v2.11-2024.7.3-c0941bcb4 with v2 reporter code …
oleksandr-codefresh Jul 4, 2024
849fdae
Merge pull request #84 from codefresh-io/CR-23822-argo-cd-wrong-commi…
oleksandr-codefresh Jul 4, 2024
fbc6b88
fix servicemonitor selectors (#85)
ilia-medvedev-codefresh Jul 9, 2024
5fe70f1
feat: Improve processing of webhook events (#87)
pasha-codefresh Jul 22, 2024
a1449f1
fix: imporve self heal logic in monorepo
pasha-codefresh Jul 31, 2024
b213716
Merge branch 'argo-cd' into fix/monorepo-selfheal
pasha-codefresh Jul 31, 2024
e1279a3
fix: add newline
pasha-codefresh Jul 31, 2024
debbfd6
fix: add newline
pasha-codefresh Jul 31, 2024
d879b6a
fix: add newline
pasha-codefresh Jul 31, 2024
5c23615
Merge pull request #90 from codefresh-io/fix/monorepo-selfheal
pasha-codefresh Jul 31, 2024
499010d
set application server and repo server address from values for event …
ilia-medvedev-codefresh Aug 10, 2024
15eef65
set application server and repo server address from values for event …
ilia-medvedev-codefresh Aug 10, 2024
d27db96
set application server and repo server address from values for event …
ilia-medvedev-codefresh Aug 10, 2024
1937bd1
not required for repo-server
ilia-medvedev-codefresh Aug 10, 2024
7cec851
remove unused variable
ilia-medvedev-codefresh Aug 10, 2024
8e6ffa5
Merge pull request #92 from codefresh-io/fix/argocd-event-reporter-no…
ilia-medvedev-codefresh Aug 10, 2024
1db4789
removed .Values.eventReporter.enabled condition
oleksandr-codefresh Aug 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
merge 5.27.1
  • Loading branch information
ilia-medvedev-codefresh committed Mar 22, 2023
commit b21dfe08d7d6b72cb38c56b0e027d7d736e4d4a8
6 changes: 3 additions & 3 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
changed=$(ct --config ./.github/configs/ct-lint.yaml --target-branch ${{ github.base_ref }} list-changed)
charts=$(echo "$changed" | tr '\n' ' ' | xargs)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
echo "::set-output name=changed_charts::$charts"
echo "changed=true" >> $GITHUB_OUTPUT
echo "changed_charts=$charts" >> $GITHUB_OUTPUT
fi

- name: Run chart-testing (lint)
Expand All @@ -58,7 +58,7 @@ jobs:
fi

- name: Create kind cluster
uses: helm/kind-action@v1.4.0
uses: helm/kind-action@v1.5.0
if: steps.list-changed.outputs.changed == 'true'
with:
config: .github/configs/kind-config.yaml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
helm package charts/argo-cd -u -d .cr-release-packages/

- name: Run chart-releaser
uses: helm/chart-releaser-action@main
uses: helm/chart-releaser-action@v1.5.0
with:
config: "./.github/configs/cr.yaml"
skip_packaging: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v6
- uses: actions/stale@v7
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Number of days of inactivity before an issue becomes stale
Expand Down
2 changes: 1 addition & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/charts/argo-workflows/ @stefansedich @paguos @vladlosev @yann-soubeyrand @jmeridth @yu-croco

# Argo CD
/charts/argo-cd/ @davidkarlsen @mr-sour @yann-soubeyrand @mbevc1 @mkilchhofer @yu-croco @jmeridth
/charts/argo-cd/ @davidkarlsen @mr-sour @yann-soubeyrand @mbevc1 @mkilchhofer @yu-croco @jmeridth @pdrastil

# Argo Events
/charts/argo-events/ @jbehling @VaibhavPage @pdrastil
Expand Down
159 changes: 98 additions & 61 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,110 +2,160 @@

Argo Helm is a collection of **community maintained** charts. Therefore we rely on you to test your changes sufficiently.


# Pull Requests
## Pull Requests

All submissions, including submissions by project members, require review. We use GitHub pull requests for this purpose. Consult [GitHub Help](https://help.github.com/articles/about-pull-requests/) for more information on using pull requests. See the above stated requirements for PR on this project.

### Pull Request Title Linting

We lint the title of your pull request to ensure it follows the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification. This is done using GitHub actions and the [action-semantic-pull-request](.github/workflows/pr-title.yml) workflow. We require the scope of the change to be included in the title. The scope should be the name of the chart you are changing. For example, if you are changing the `argo-cd` chart, the title of your pull request should be `fix(argo-cd): Fix typo in values.yaml`.

## Documentation

The documentation for each chart is generated with [helm-docs](https://github.com/norwoodj/helm-docs). This way we can ensure that values are consistent with the chart documentation.

We have a script on the repository which will execute the helm-docs docker container, so that you don't have to worry about downloading the binary etc. Simply execute the script (Bash compatible, might require sudo privileges):

```shell
./scripts/helm-docs.sh
```

> **Note**
> When creating your own `README.md.gotmpl`, don't forget to add it to your `.helmignore` file.

### Updating a chart README.md

When updating the `README.md.gotmpl` inside a chart directory you must to run the `helm-docs` script to generate the updated `README.md` file. To reiterate, you should not edit the `README.md` file manually. It will be generated by the following command:

```shell
./scripts/helm-docs.sh
```

> **Note**
> If you see changes to unrelated chart `README.md` files you may have accidentally updated a `README.md.gotmpl` file in another chart's folder unintentionally or someone else failed to run this script. Please revert those changes if you do not intend them to be a part of your pull request.

## Versioning

Each chart's version follows the [semver standard](https://semver.org/). New charts should start at version `1.0.0`, if it's considered stable. If it's not considered stable, it must be released as [prerelease](#prerelease).
Each chart's version follows the [semver standard](https://semver.org/).

New charts should start at version `1.0.0`, if it's considered stable. If it isn't considered stable, it must be released as `prerelease`.

Any breaking changes to a chart (backwards incompatible) require:

* Bump of the current Major version of the chart
* State possible manual changes for this chart version in the `Upgrading` section of the chart's `README.md.gotmpl` ([See Upgrade](#upgrades))
* Bump of the current Major version of the chart
* State possible manual changes for this chart version in the `Upgrading` section of the chart's `README.md.gotmpl`

### New Application Versions

When selecting new application versions ensure you make the following changes:

* `values.yaml`: Bump all instances of the container image version
* `Chart.yaml`: Ensure `appVersion` matches the above container image and bump `version`

Please ensure chart version changes adhere to semantic versioning standards:

* Major: Large chart rewrites, major non-backwards compatible or destructive changes
* Minor: New chart functionality (sidecars), major application updates or minor non-backwards compatible changes
* Patch: App version patch updates, backwards compatible optional chart features

### Immutability

Each release for each chart must be immutable. Any change to a chart (even just documentation) requires a version bump. Trying to release the same version twice will result in an error.

### Chart Versioning

Currently we require a chart version bump for every change to a chart, including updating information for older verions. This may change in the future.

### Artifact Hub Annotations

Since we release our charts on Artifact Hub we encourage making use of the provided chart annotations for Artifact Hub.

* [https://artifacthub.io/docs/topics/annotations/helm/](https://artifacthub.io/docs/topics/annotations/helm/)
* [https://artifacthub.io/docs/topics/annotations/helm/](https://artifacthub.io/docs/topics/annotations/helm/)

#### Changelog

We want to deliver transparent chart releases for our chart consumers. Therefore we require a changelog per new chart release.

Changes on a chart must be documented in a chart specific changelog in the `Chart.yaml` [Annotation Section](https://helm.sh/docs/topics/charts/#the-chartyaml-file). For every new release the entire `artifacthub.io/changes` needs to be rewritten. Each change requires a new bullet point following the pattern `- "[{type}]: {description}"`. You can use the following template:

```
name: argo-cd
version: 3.4.1
...
annotations:
artifacthub.io/changes: |
- "[Added]: Something New was added"
- "[Changed]: Changed Something within this chart"
- "[Changed]: Changed Something else within this chart"
- "[Deprecated]: Something deprecated"
- "[Removed]: Something was removed"
- "[Fixed]: Something was fixed"
- "[Security]": Some Security Patch was included"
```

## Documentation
Changes on a chart must be documented in a chart specific changelog in the `Chart.yaml` [Annotation Section](https://helm.sh/docs/topics/charts/#the-chartyaml-file).

The documentation for each chart is done with [helm-docs](https://github.com/norwoodj/helm-docs). This way we can ensure that values are consistent with the chart documentation.
A new `artifacthub.io/changes` needs to be written covering only the changes since the previous release.

We have a script on the repository which will execute the helm-docs docker container, so that you don't have to worry about downloading the binary etc. Simply execute the script (Bash compatible, might require sudo privileges):
Each change requires a new bullet point following the pattern. See more information [Artifact Hub annotations in Helm Chart.yaml file](https://artifacthub.io/docs/topics/annotations/helm/).

```
bash scripts/helm-docs.sh
```yaml
- kind: {type}
description: {description}
```

**NOTE**: When creating your own `README.md.gotmpl`, don't forget to add it to your `.helmignore` file.
You can use the following template:



# Testing

## Testing Argo Workflows Changes
```yaml
name: argo-cd
version: 5.19.12
...
annotations:
artifacthub.io/changes: |
- kind: added
description: Something New was added
- kind: changed
description: Changed Something within this chart
- kind: changed
description: Changed Something else within this chart
- kind: deprecated
description: Something deprecated
- kind: removed
description: Something was removed
- kind: fixed
description: Something was fixed
- kind: security
description: Some Security Patch was included
```

## Testing

### Testing Argo Workflows Changes

Minimally:

```
```shell
helm install charts/argo-workflows -n argo
argo version
```

Follow this instructions for running a hello world workflow.
Follow [these](https://argoproj.github.io/argo-workflows/quick-start/#submitting-an-example-workflow) instructions for running a hello world workflow.

## Testing Argo CD Changes
### Testing Argo CD Changes

Clean-up:

```
```shell
helm delete argo-cd --purge
kubectl delete crd -l app.kubernetes.io/part-of=argocd
```

Pre-requisites:
```

```shell
helm repo add redis-ha https://dandydeveloper.github.io/charts/
helm dependency update
```

Minimally:

```
```shell
helm install argocd argo/argo-cd -n argocd --create-namespace
kubectl port-forward service/argo-cd-argocd-server -n argocd 8080:443
```

In a new terminal:

```
```shell
argocd version --server localhost:8080 --insecure
# reset password to 'Password1!'
kubectl -n argocd patch secret argocd-secret \
-p '{"stringData": {
"admin.password": "$2a$10$hDj12Tw9xVmvybSahN1Y0.f9DZixxN8oybyA32Uy/eqWklFU4Mo8O",
"admin.passwordMtime": "'$(date +%FT%T%Z)'"
"admin.password": "$2a$10$hDj12Tw9xVmvybSahN1Y0.f9DZixxN8oybyA32Uy/eqWklFU4Mo8O",
"admin.passwordMtime": "'$(date +%FT%T%Z)'"
}}'
argocd login localhost:8080 --username admin --password 'Password1!'

Expand All @@ -114,38 +164,25 @@ argocd login localhost:8080 --username admin --password 'Password1!'

Create and sync app:

```
```shell
argocd app create guestbook --dest-namespace default --dest-server https://kubernetes.default.svc --path guestbook --project default --repo https://github.com/argoproj/argocd-example-apps.git
argocd app sync guestbook
```

## New Application Versions

When raising application versions ensure you make the following changes:

- `values.yaml`: Bump all instances of the container image version
- `Chart.yaml`: Ensure `appVersion` matches the above container image and bump `version`

Please ensure chart version changes adhere to semantic versioning standards:

- Patch: App version patch updates, backwards compatible optional chart features
- Minor: New chart functionality (sidecars), major application updates or minor non-backwards compatible changes
- Major: Large chart rewrites, major non-backwards compatible or destructive changes

## Testing Charts
### Testing Charts

As part of the Continuous Integration system we run Helm's [Chart Testing](https://github.com/helm/chart-testing) tool.

The checks for this tool are stricter than the standard Helm requirements, where fields normally considered optional like `maintainer` are required in the standard spec and must be valid GitHub usernames.
The checks for Chart Testing are stricter than the standard Helm requirements. For example, fields normally considered optional like `maintainer` are required in the standard spec and must be valid GitHub usernames.

Linting configuration can be found in [ct-lint.yaml](./.github/configs/ct-lint.yaml)

The linting can be invoked manually with the following command:

```
```shell
./scripts/lint.sh
```

## Publishing Changes

Changes are automatically publish whenever a commit is merged to main. The CI job (see `./.github/workflows/publish.yml`).
Changes are automatically publish whenever a commit is merged to the `main` branch by the CI job (see `./.github/workflows/publish.yml`).
22 changes: 20 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,42 @@
# Argo Helm Charts

[![Slack](https://img.shields.io/badge/slack-%23argo--helm--charts-brightgreen.svg?logo=slack)](https://argoproj.github.io/community/join-slack)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Chart Publish](https://github.com/argoproj/argo-helm/actions/workflows/publish.yml/badge.svg?branch=main)](https://github.com/argoproj/argo-helm/actions/workflows/publish.yml)
[![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/argo)](https://artifacthub.io/packages/search?repo=argo)
[![CLOMonitor](https://img.shields.io/endpoint?url=https://clomonitor.io/api/projects/cncf/argo/badge)](https://clomonitor.io/projects/cncf/argo)

Argo Helm is a collection of **community maintained** charts for [https://argoproj.github.io](https://argoproj.github.io) projects. The charts can be added using following command:

```
```bash
helm repo add argo https://argoproj.github.io/argo-helm
```

## Contributing

We'd love to have you contribute! Please refer to our [contribution guidelines](CONTRIBUTING.md) for details.

### Custom resource definitions

Some users would prefer to install the CRDs _outside_ of the chart. You can disable the CRD installation of the main four charts (argo-cd, argo-workflows, argo-events, argo-rollouts) by using `--set crds.install=false` when installing the chart.

Helm cannot upgrade custom resource definitions in the `<chart>/crds` folder [by design](https://helm.sh/docs/chart_best_practices/custom_resource_definitions/#some-caveats-and-explanations). Our CRDs have been moved to `<chart>/templates` to address this design decision.

If you are using versions of a chart that have the CRDs in the root of the chart or have elected to manage the Argo Workflows CRDs outside of the chart, please use `kubectl` to upgrade CRDs manually from [templates/crds](templates/crds/) folder or via the manifests from the upstream project repo:

Example:

```bash
kubectl apply -k "https://github.com/argoproj/argo-cd/manifests/crds?ref=<appVersion>"

# Eg. version v2.4.9
kubectl apply -k "https://github.com/argoproj/argo-cd/manifests/crds?ref=v2.4.9"
```

### Security Policy

If you have a security concern relating to either this project repo or an individual helm chart, please [open an issue](https://github.com/argoproj/argo-helm/issues/new/choose) or [start a discussion](https://github.com/argoproj/argo-helm/discussions/new).

### 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).
6 changes: 3 additions & 3 deletions charts/argo-cd/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: redis-ha
repository: https://dandydeveloper.github.io/charts/
version: 4.22.3
digest: sha256:ef6269e4e073dad10c230ccfb069fc013608111c895c5e7568450bb3967cf195
generated: "2022-11-03T12:04:33.673857+09:00"
version: 4.22.4
digest: sha256:5df60910862b364ebfb82cba2b2f0951c39ad36446647fb3f501bdeadc92fbd7
generated: "2022-12-26T22:58:11.561184+09:00"
9 changes: 5 additions & 4 deletions charts/argo-cd/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: v2.5.5-cap-CR-16950
appVersion: v2.6.0-cap-CR-17237
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 5.16.0-2-cap-CR-16950
version: 5.27.1-1-cap-CR-17237
kubeVersion: ">=1.22.0-0"
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
Expand All @@ -18,9 +18,10 @@ maintainers:
url: https://argoproj.github.io/
dependencies:
- name: redis-ha
version: 4.22.3
version: 4.22.4
repository: https://dandydeveloper.github.io/charts/
condition: redis-ha.enabled
annotations:
artifacthub.io/changes: |
- "[Added]: Ability to annotate Deployment and Statefulset objects for all components"
- kind: changed
description: Upgrade Argo CD to v2.6.6
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.