Skip to content

Commit

Permalink
[CX-2425]: Use aliases for worker deployment (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
gtoonstra authored Feb 20, 2024
1 parent ba0c066 commit 779e20d
Show file tree
Hide file tree
Showing 19 changed files with 104 additions and 813 deletions.
42 changes: 28 additions & 14 deletions charts/datafold/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: datafold
description: Helm chart package to deploy Datafold on kubernetes.
type: application
version: 0.4.7
version: 0.4.8
appVersion: "1.0.0"
icon: https://www.datafold.com/logo.png

Expand Down Expand Up @@ -48,20 +48,34 @@ dependencies:
version: "*.*.*"
repository: file://charts/worker
condition: worker.install
- name: worker-catalog
version: "*.*.*"
repository: file://charts/worker_catalog
condition: worker.install
- name: worker-interactive
version: "*.*.*"
repository: file://charts/worker_interactive
condition: worker.install
- name: worker-singletons
version: "*.*.*"
repository: file://charts/worker_singletons
condition: worker.install
alias: worker
- name: worker
version: "0.1.0"
repository: file://charts/worker
condition: worker-catalog.install
alias: worker-catalog
- name: worker
version: "0.1.0"
repository: file://charts/worker
condition: worker-interactive.install
alias: worker-interactive
- name: worker
version: "0.1.0"
repository: file://charts/worker
condition: worker-singletons.install
alias: worker-singletons
- name: worker
version: "0.1.0"
repository: file://charts/worker
condition: worker-lineage.install
alias: worker-lineage
- name: worker
version: "0.1.0"
repository: file://charts/worker
condition: worker-monitors.install
alias: worker-monitor
- name: nginx
version: "*.*.*"
version: "0.1.0"
repository: file://charts/nginx
condition: nginx.install
# - name: letsencrypt
Expand Down
2 changes: 1 addition & 1 deletion charts/datafold/charts/worker/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Common labels
*/}}
{{- define "worker.labels" -}}
helm.sh/chart: {{ include "worker.chart" . }}
app.kubernetes.io/component: worker
app.kubernetes.io/component: {{ include "worker.name" . }}
{{ include "worker.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
Expand Down
5 changes: 5 additions & 0 deletions charts/datafold/charts/worker/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ spec:
env:
{{ include "worker.env" . | nindent 12 }}
{{ include "datafold.env" . | nindent 12 }}
- name: DATAFOLD_FRESHPAINT_URL
valueFrom:
secretKeyRef:
name: {{ include "datafold.secrets" . }}
key: DATAFOLD_FRESHPAINT_URL
livenessProbe:
exec:
command:
Expand Down
6 changes: 0 additions & 6 deletions charts/datafold/charts/worker_catalog/Chart.yaml

This file was deleted.

95 changes: 0 additions & 95 deletions charts/datafold/charts/worker_catalog/templates/_helpers.tpl

This file was deleted.

79 changes: 0 additions & 79 deletions charts/datafold/charts/worker_catalog/templates/deployment.yaml

This file was deleted.

32 changes: 0 additions & 32 deletions charts/datafold/charts/worker_catalog/templates/hpa.yaml

This file was deleted.

52 changes: 0 additions & 52 deletions charts/datafold/charts/worker_catalog/values.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions charts/datafold/charts/worker_interactive/Chart.yaml

This file was deleted.

Loading

0 comments on commit 779e20d

Please sign in to comment.