-
Notifications
You must be signed in to change notification settings - Fork 1
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: add ditto operator support #19
base: main
Are you sure you want to change the base?
Conversation
|
Merge contigent upon:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this is a WIP, but I've added some comments on improvements we could make.
Also, one question about removal of ingress configuration.
{{- /* Generate big peer deployment config driven by ditto operator */ -}} | ||
{{- $fullname := include "common.names.fullname" . -}} | ||
{{- $values := index .Values "ditto-deployment" -}} | ||
{{- $storageClassName := default "local-path" $values.storage.storage_class_name -}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
StorageClass should be left blank by default, so that the cluster default is used.
local-path
will not be compatible with most clusters.
imagePullPolicy: {{ $values.image.pullPolicy }} | ||
imagePullSecrets: [] | ||
resources: | ||
limits: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we expose these resource settings as values instead of hardcoding.
imagePullSecrets: [] | ||
resources: | ||
limits: | ||
cpu: 2000m |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
# Additional ingresses can be added by adding a dictionary key similar to the 'main' ingress. | ||
# @default -- See below | ||
ingress: | ||
main: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this being removed? Is this incompatible with Ditto Operator?
We are relying on this for valet.
charts/big-peer/Chart.lock
Outdated
- name: hydra-consul | ||
repository: oci://quay.io/ditto-external | ||
- name: ditto-operator | ||
repository: file://../../../ditto/charts/operator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should update this to a public source.
charts/big-peer/Chart.yaml
Outdated
repository: "oci://quay.io/ditto-external" | ||
condition: hydra-subscription.enabled | ||
#repository: "oci://quay.io/ditto-external" | ||
repository: "file://../../../ditto/charts/operator" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
adds support for ditto operator, moving away from
hades
as we look towards its deprecation