Skip to content

Commit

Permalink
Merge pull request #84 from cloud-pi-native/dso-console/enable-fetch-…
Browse files Browse the repository at this point in the history
…container-custom-image

feat: enable fetch plugins container image customization
  • Loading branch information
this-is-tobi authored Oct 30, 2024
2 parents 50acb91 + a8d29f7 commit 3249253
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/dso-console/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: cpn-console
description: A Helm chart to deploy Cloud Pi Native Console
type: application
version: 1.10.5
version: 1.11.0
appVersion: 8.15.1
keywords: []
home: https://cloud-pi-native.fr
Expand Down
3 changes: 2 additions & 1 deletion charts/dso-console/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cpn-console

![Version: 1.10.5](https://img.shields.io/badge/Version-1.10.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 8.15.1](https://img.shields.io/badge/AppVersion-8.15.1-informational?style=flat-square)
![Version: 1.11.0](https://img.shields.io/badge/Version-1.11.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 8.15.1](https://img.shields.io/badge/AppVersion-8.15.1-informational?style=flat-square)

A Helm chart to deploy Cloud Pi Native Console

Expand Down Expand Up @@ -207,6 +207,7 @@ A Helm chart to deploy Cloud Pi Native Console
| server.extraContainers | list | `[]` | Extra containers to add to the Console CPN server pod as sidecars. |
| server.extraVolumeMounts | list | `[]` | List of extra mounts to add (normally used with extraVolumes) |
| server.extraVolumes | list | `[]` | List of extra volumes to add. |
| server.fetchContainer.image | string | `"docker.io/wbitt/network-multitool:alpine-minimal"` | Image used to fetch plugins inside the initContainer. |
| server.healthcheckPath | string | `"/api/v1/healthz"` | Console CPN server container healthcheck endpoint. |
| server.hostAliases | list | `[]` | Host aliases that will be injected at pod-level into /etc/hosts. |
| server.image.pullPolicy | string | `"Always"` | Image pull policy for the Console CPN server. |
Expand Down
2 changes: 1 addition & 1 deletion charts/dso-console/templates/server/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
{{- if or .Values.server.plugins .Values.server.initContainers }}
initContainers:
{{- if and .Values.server.plugins (len .Values.server.plugins) }}
- image: docker.io/wbitt/network-multitool:alpine-minimal
- image: {{ .Values.server.fetchContainer.image }}
name: fetch-plugins
envFrom:
- configMapRef:
Expand Down
3 changes: 3 additions & 0 deletions charts/dso-console/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,9 @@ server:
type: "ClusterIP"
# -- Console CPN server service port.
port: 80
fetchContainer:
# -- Image used to fetch plugins inside the initContainer.
image: docker.io/wbitt/network-multitool:alpine-minimal
# -- List of zips to download; basically curl url, unzip and stores it in plugins/external/<dir_name>.
plugins: []
# -- CSV list of plugins to disabled.
Expand Down

0 comments on commit 3249253

Please sign in to comment.