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

Extra containers can now be added to artifacthub pod #4056

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/artifact-hub/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: artifact-hub
description: Artifact Hub is a web-based application that enables finding, installing, and publishing Cloud Native packages.
type: application
version: 1.19.1-1
version: 1.19.1-2
appVersion: 1.19.0
kubeVersion: ">= 1.19.0-0"
home: https://artifacthub.io
Expand Down
3 changes: 3 additions & 0 deletions charts/artifact-hub/templates/hub_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ spec:
readinessProbe:
{{- toYaml .Values.hub.deploy.readinessProbe | nindent 12}}
{{- end }}
{{- if .Values.hub.deploy.extraContainers }}
{{- include "chart.tplvalues.render" (dict "value" .Values.hub.deploy.extraContainers "context" $) | nindent 8 }}
{{- end }}
volumes:
- name: hub-config
secret:
Expand Down
6 changes: 6 additions & 0 deletions charts/artifact-hub/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,12 @@
"type": "array",
"default": "[]"
},
"extraContainers": {
"title": "Extra containers",
"description": "Optionally specify extra list of additional containers for the hub deployment",
"type": "array",
"default": "[]"
},
"image": {
"type": "object",
"properties": {
Expand Down
2 changes: 2 additions & 0 deletions charts/artifact-hub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ hub:
extraVolumeMounts: []
# Optionally specify a node selector for the hub deployment
nodeSelector: {}
# Optionally specify extra list of additional containers for the hub deployment
extraContainers: []
server:
# Allow adding private repositories to the Hub
allowPrivateRepositories: false
Expand Down