Skip to content

Commit

Permalink
Helm chart metadata update and progress towards using common library.
Browse files Browse the repository at this point in the history
  • Loading branch information
axisofentropy committed May 23, 2023
1 parent 995db0b commit ec6852c
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 11 deletions.
14 changes: 10 additions & 4 deletions charts/uffizzi-app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,20 @@ home: https://uffizzi.com/
sources:
- https://github.com/UffizziCloud/uffizzi
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
tags:
- bitnami-common
version: 2.x.x
- name: uffizzi-controller
version: "1.1.0"
version: "1.1.x"
repository: https://uffizzicloud.github.io/uffizzi_controller/
- name: postgresql
version: "12.5.5"
version: "12.x.x"
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled
- name: redis
version: "17.11.3"
version: "17.x.x"
repository: https://charts.bitnami.com/bitnami
condition: redis.enabled
maintainers:
Expand All @@ -42,6 +47,7 @@ icon: https://app.uffizzi.com/favicon.png
appVersion: "1.2.1"
deprecated: false
annotations:
# Use this annotation to indicate that this chart version is a pre-release.
# https://artifacthub.io/docs/topics/annotations/helm/
artifacthub.io/prerelease: "false"
artifacthub.io/category: integration-delivery
artifacthub.io/license: Apache-2.0
4 changes: 2 additions & 2 deletions charts/uffizzi-app/templates/sidekiq-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
app: uffizzi-sidekiq

spec:
replicas: {{ .Values.sidekiq_replicas }}
replicas: {{ .Values.sidekiq.replicas }}
selector:
matchLabels:
app: uffizzi-sidekiq
Expand All @@ -19,7 +19,7 @@ spec:
automountServiceAccountToken: false
containers:
- name: uffizzi-sidekiq
image: {{ .Values.image }}
image: {{ .Values.sidekiq.image }}
command:
- /bin/bash
- -c
Expand Down
4 changes: 2 additions & 2 deletions charts/uffizzi-app/templates/web-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
app: uffizzi-web

spec:
replicas: {{ .Values.web_replicas }}
replicas: {{ .Values.web.replicas }}
selector:
matchLabels:
app: uffizzi-web
Expand All @@ -19,7 +19,7 @@ spec:
automountServiceAccountToken: false
containers:
- name: uffizzi-web
image: {{ .Values.image }}
image: {{ .Values.web.image }}
command:
- /bin/bash
- -c
Expand Down
28 changes: 25 additions & 3 deletions charts/uffizzi-app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,34 @@ global:
username: username
password: ChangeMeNow

# Please note that this will override the image parameters, including dependencies, configured to use the global value.
# Global Docker image registry
imageRegistry: ""
# Global Docker registry secret names as an array
# example: `imagePullSecrets: [myRegistryKeySecretName]`
imagePullSecrets: []

web:
replicas: 3
image:
registry: ""
repository: uffizzi/app
tag: latest
pullPolicy: Always
pullSecrets: []

sidekiq:
replicas: 1
image:
registry: ""
repository: uffizzi/app
tag: latest
pullPolicy: Always
pullSecrets: []

env: production
app_url: https://uffizzi.example.com
webHostname: uffizzi.example.com
image: uffizzi/app
web-replicas: 3
sidekiq-replicas: 1
hostname: localhost
controller_url: ""
allowed_hosts: ""
Expand Down

0 comments on commit ec6852c

Please sign in to comment.