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: cosmos-exporter chart #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

felichita
Copy link

COSMOS-2655

@felichita felichita force-pushed the felichita/cosmos-exporter branch from d7b9885 to 6078890 Compare October 24, 2024 12:01
@felichita felichita requested a review from chliddle October 24, 2024 12:05
labels:
{{- include "cosmos-exporter.labels" $ | nindent 4 }}
k8s-app: {{ $.Values.appName }}
spec:
Copy link
Collaborator

Choose a reason for hiding this comment

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

If we are open sourcing this its probably worth adding resources and affinity / nodeSelector anyway.

{{- toYaml . | nindent 12 }}
{{- end }}
imagePullSecrets:
{{- toYaml $.Values.imagePullSecrets | nindent 8 }}
Copy link

Choose a reason for hiding this comment

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

would be nice to make the imagePullSecret creation optional and allow optionally providing an existing secret in case the secret is created by another process

annotations:
"helm.sh/hook": pre-install,pre-upgrade
"helm.sh/hook-weight": "-10"
"helm.sh/hook-delete-policy": before-hook-creation
Copy link

Choose a reason for hiding this comment

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

To widen CI/CD options, can you also add ArgoCD's PreSync hook? as helm hooks are not supported in ArgoCD and will be synced in default ordering

annotations:
"helm.sh/hook": pre-install,pre-upgrade
"helm.sh/hook-weight": "-10"
"helm.sh/hook-delete-policy": before-hook-creation
Copy link

Choose a reason for hiding this comment

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

same here note here about ArgoCD

registry: ghcr.io
username: cosmos
password: secret
email: [email protected]
Copy link

Choose a reason for hiding this comment

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

if this will be open-sourced I guess we need to leave out our P2P information from default values

- key: blch
operator: In
values:
- "true"
Copy link

Choose a reason for hiding this comment

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

I wouldn't make the blch: true label default as well

replicas: 1

appImage:
repo: ghcr.io/p2p-org/rcosmos-exporter
Copy link

Choose a reason for hiding this comment

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

same here, better not to be default

@chliddle chliddle force-pushed the main branch 7 times, most recently from 5087892 to 86509b5 Compare December 18, 2024 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants