Skip to content

Commit

Permalink
setup helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-bcw committed Mar 27, 2024
1 parent e6e9b78 commit 64c4851
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deploy/helm/zero-bin/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: hull
repository: https://vidispine.github.io/hull
version: 1.29.7
digest: sha256:8a6de76f9fff5d5c49f24e4ff05bdbda08e1554d7c6c1b28a41457c4bd468009
generated: "2024-03-26T17:35:02.752159+08:00"
12 changes: 12 additions & 0 deletions deploy/helm/zero-bin/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: v2
name: zero-bin
description: zero bin
type: application

# This is the chart version. It is mostly irrelevant since we only use helm to
# templatize the project and argo to keep track of it
version: 1.0.0
dependencies:
- name: hull
version: 1.29.7
repository: https://vidispine.github.io/hull
Binary file added deploy/helm/zero-bin/charts/hull-1.29.7.tgz
Binary file not shown.
1 change: 1 addition & 0 deletions deploy/helm/zero-bin/templates/hull.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{- include "hull.objects.prepare.all" (dict "HULL_ROOT_KEY" "hull" "ROOT_CONTEXT" $) }}
32 changes: 32 additions & 0 deletions deploy/helm/zero-bin/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

hull:
config:
general:
fullnameOverride: zero-bin
specific:
debug: true # a switch influencing creation of objects in this chart
version: v1.0.0 # a shared image tag for multiple container
myapp: # some exemplary shared configuration settings for the resources
rate_limit: 100
max_connections: 5
objects: # all objects to create are defined here
deployment: # create deployments
leader: # the base part of the object name for the deployment
pod: # configure pod-related aspects
containers: # non-init containers
leader: # name of container
image: # provide image reference
repository: gcr/zero-bin-leader # repository
tag: _HT*hull.config.specific.version # reference to central tag value above
env: # environment variables
SERVER_HOSTNAME: # name of variable
value: test
SERVER_PORT: # name of variable
value: "8080" # backend service port
worker: # the base part of the object name for the deployment
pod: # configure pod-related aspects
containers: # non-init containers
worker: # name of container
image: # image reference
repository: gcr/zero-bin-worker # repository
tag: _HT*hull.config.specific.version # reference to central tag value above

0 comments on commit 64c4851

Please sign in to comment.