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

feat(argo-cd): Use new Argo CD extension mechanism #2406

Merged
merged 5 commits into from
Dec 30, 2023

Conversation

yu-croco
Copy link
Collaborator

@yu-croco yu-croco commented Dec 30, 2023

Resolves #2396

Checklist:

  • I have bumped the chart version according to versioning
  • I have updated the documentation according to documentation
  • I have updated the chart changelog with all the changes that come with this pull request according to changelog.
  • Any new values are backwards compatible and/or have sensible default.
  • I have signed off all my commits as required by DCO.
  • My build is green (troubleshooting builds).

Signed-off-by: yu-croco <yu.croco@gmail.com>
Signed-off-by: yu-croco <yu.croco@gmail.com>
Comment on lines +363 to +364
{{- if or .Values.server.initContainers (and .Values.server.extensions.enabled .Values.server.extensions.extensionList) }}
initContainers:
Copy link
Collaborator Author

@yu-croco yu-croco Dec 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Condition is so naive 🙃

Comment on lines +1598 to +1603
# - name: extension-metrics
# env:
# - name: EXTENSION_URL
# value: https://github.com/argoproj-labs/argocd-extension-metrics/releases/download/v1.0.0/extension.tar.gz
# - name: EXTENSION_CHECKSUM_URL
# value: https://github.com/argoproj-labs/argocd-extension-metrics/releases/download/v1.0.0/extension_checksums.txt
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# -- Server UI extensions container-level security context
# @default -- See [values.yaml]
containerSecurityContext:
runAsNonRoot: true
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
runAsUser: 1000
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got container has runAsNonRoot and image has non-numeric user ... , so I added as following sample

Signed-off-by: yu-croco <yu.croco@gmail.com>
Signed-off-by: yu-croco <yu.croco@gmail.com>
Comment on lines -17 to -19
{{- if .Values.server.extensions.enabled }}
- argocdextensions
{{- end }}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

argocdextensions CRD is removed ♻️

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to be honest, it should be a breaking release of the chart

Copy link
Collaborator Author

@yu-croco yu-croco Dec 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, so I bumped minor version as following Versioning and put changelog in README.
Do you mean that bumping major version is more reasonable? 👀

@yu-croco yu-croco marked this pull request as ready for review December 30, 2023 15:09
@jmeridth jmeridth merged commit 9b0c33f into argoproj:main Dec 30, 2023
6 checks passed
@mkilchhofer
Copy link
Member

👍🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support new extensions mechanism
6 participants