Skip to content

Commit

Permalink
feat(kroki): update docker.io/yuzutech/kroki docker tag to 0.23.0 (#524)
Browse files Browse the repository at this point in the history
Co-authored-by: Renovate Bot <[email protected]>
  • Loading branch information
sebastien-prudhomme and renovate-bot authored Oct 8, 2023
1 parent f3f526f commit c933cd5
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 234 deletions.
4 changes: 2 additions & 2 deletions charts/kroki/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 0.21.3
appVersion: 0.23.0
description: Creates diagrams from textual descriptions
home: https://kroki.io/
icon: https://raw.githubusercontent.com/yuzutech/kroki.io/master/assets/favicon-196x196.png
Expand All @@ -10,7 +10,7 @@ name: kroki
sources:
- https://github.com/yuzutech/kroki
- https://github.com/cowboysysop/charts/tree/master/charts/kroki
version: 4.1.0
version: 5.0.0
dependencies:
- name: common
version: 2.9.0
Expand Down
52 changes: 11 additions & 41 deletions charts/kroki/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ The command upgrades the existing `my-release` deployment with the most latest r

**TIP**: Use `helm repo update` to update information on available charts in the chart repositories.

### Upgrading to version 5.0.0

BlockDiag and WireViz are now available in the main Kroki container.

All parameters related to BlockDiag and WireViz have been removed.

### Upgrading to version 4.0.0

The chart is now tested with Kubernetes >= 1.24 and Helm >= 3.9.
Expand Down Expand Up @@ -102,7 +108,7 @@ The command deletes the release named `my-release` and frees all the kubernetes
| `replicaCount` | Number of replicas | `1` |
| `image.registry` | Image registry | `docker.io` |
| `image.repository` | Image repository | `yuzutech/kroki` |
| `image.tag` | Image tag | `0.21.3` |
| `image.tag` | Image tag | `0.23.0` |
| `image.digest` | Image digest | `""` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `pdb.create` | Specifies whether a pod disruption budget should be created | `false` |
Expand Down Expand Up @@ -159,32 +165,14 @@ The command deletes the release named `my-release` and frees all the kubernetes
| `extraEnvVarsCM` | Name of existing ConfigMap containing additional container environment variables | `nil` |
| `extraEnvVarsSecret` | Name of existing Secret containing additional container environment variables | `nil` |

### BlockDiag parameters

| Name | Description | Default |
| ------------------------------- | -------------------------------------------------------------------------------- | -------------------------- |
| `blockdiag.enabled` | Enable BlockDiag | `true` |
| `blockdiag.image.registry` | Image registry | `docker.io` |
| `blockdiag.image.repository` | Image repository | `yuzutech/kroki-blockdiag` |
| `blockdiag.image.tag` | Image tag | `0.21.3` |
| `blockdiag.image.digest` | Image digest | `""` |
| `blockdiag.image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `blockdiag.securityContext` | Container security context | `{}` |
| `blockdiag.containerPorts.http` | Container port for HTTP | `8001` |
| `blockdiag.resources` | CPU/Memory resource requests/limits | `{}` |
| `blockdiag.extraArgs` | Additional container arguments | `{}` |
| `blockdiag.extraEnvVars` | Additional container environment variables | `[]` |
| `blockdiag.extraEnvVarsCM` | Name of existing ConfigMap containing additional container environment variables | `nil` |
| `blockdiag.extraEnvVarsSecret` | Name of existing Secret containing additional container environment variables | `nil` |

### BPMN parameters

| Name | Description | Default |
| -------------------------- | -------------------------------------------------------------------------------- | --------------------- |
| `bpmn.enabled` | Enable BPMN | `true` |
| `bpmn.image.registry` | Image registry | `docker.io` |
| `bpmn.image.repository` | Image repository | `yuzutech/kroki-bpmn` |
| `bpmn.image.tag` | Image tag | `0.21.3` |
| `bpmn.image.tag` | Image tag | `0.23.0` |
| `bpmn.image.digest` | Image digest | `""` |
| `bpmn.image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `bpmn.securityContext` | Container security context | `{}` |
Expand All @@ -202,7 +190,7 @@ The command deletes the release named `my-release` and frees all the kubernetes
| `diagramsnet.enabled` | Enable Diagrams.net | `true` |
| `diagramsnet.image.registry` | Image registry | `docker.io` |
| `diagramsnet.image.repository` | Image repository | `yuzutech/kroki-diagramsnet` |
| `diagramsnet.image.tag` | Image tag | `0.21.3` |
| `diagramsnet.image.tag` | Image tag | `0.23.0` |
| `diagramsnet.image.digest` | Image digest | `""` |
| `diagramsnet.image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `diagramsnet.securityContext` | Container security context | `{}` |
Expand All @@ -220,7 +208,7 @@ The command deletes the release named `my-release` and frees all the kubernetes
| `excalidraw.enabled` | Enable Excalidraw | `true` |
| `excalidraw.image.registry` | Image registry | `docker.io` |
| `excalidraw.image.repository` | Image repository | `yuzutech/kroki-excalidraw` |
| `excalidraw.image.tag` | Image tag | `0.21.3` |
| `excalidraw.image.tag` | Image tag | `0.23.0` |
| `excalidraw.image.digest` | Image digest | `""` |
| `excalidraw.image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `excalidraw.securityContext` | Container security context | `{}` |
Expand All @@ -238,7 +226,7 @@ The command deletes the release named `my-release` and frees all the kubernetes
| `mermaid.enabled` | Enable Mermaid | `true` |
| `mermaid.image.registry` | Image registry | `docker.io` |
| `mermaid.image.repository` | Image repository | `yuzutech/kroki-mermaid` |
| `mermaid.image.tag` | Image tag | `0.21.3` |
| `mermaid.image.tag` | Image tag | `0.23.0` |
| `mermaid.image.digest` | Image digest | `""` |
| `mermaid.image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `mermaid.securityContext` | Container security context | `{}` |
Expand All @@ -249,24 +237,6 @@ The command deletes the release named `my-release` and frees all the kubernetes
| `mermaid.extraEnvVarsCM` | Name of existing ConfigMap containing additional container environment variables | `nil` |
| `mermaid.extraEnvVarsSecret` | Name of existing Secret containing additional container environment variables | `nil` |

### WireViz parameters

| Name | Description | Default |
| ----------------------------- | -------------------------------------------------------------------------------- | ------------------------ |
| `wireviz.enabled` | Enable WireViz | `true` |
| `wireviz.image.registry` | Image registry | `docker.io` |
| `wireviz.image.repository` | Image repository | `yuzutech/kroki-wireviz` |
| `wireviz.image.tag` | Image tag | `0.21.3` |
| `wireviz.image.digest` | Image digest | `""` |
| `wireviz.image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `wireviz.securityContext` | Container security context | `{}` |
| `wireviz.containerPorts.http` | Container port for HTTP | `8006` |
| `wireviz.resources` | CPU/Memory resource requests/limits | `{}` |
| `wireviz.extraArgs` | Additional container arguments | `{}` |
| `wireviz.extraEnvVars` | Additional container environment variables | `[]` |
| `wireviz.extraEnvVarsCM` | Name of existing ConfigMap containing additional container environment variables | `nil` |
| `wireviz.extraEnvVarsSecret` | Name of existing Secret containing additional container environment variables | `nil` |

### Tests parameters

| Name | Description | Default |
Expand Down
68 changes: 0 additions & 68 deletions charts/kroki/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,40 +109,6 @@ spec:
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.blockdiag.enabled }}
- name: blockdiag
securityContext:
{{- toYaml .Values.blockdiag.securityContext | nindent 12 }}
image: {{ include "common.images.image" ( dict "imageRoot" .Values.blockdiag.image "global" .Values.global ) }}
imagePullPolicy: {{ .Values.blockdiag.image.pullPolicy }}
{{- if .Values.blockdiag.extraArgs }}
args:
{{- range $key, $value := .Values.blockdiag.extraArgs }}
- --{{ $key }}={{ $value }}
{{- end }}
{{- end }}
{{- if .Values.blockdiag.extraEnvVars }}
env:
{{- include "common.tplvalues.render" (dict "value" .Values.blockdiag.extraEnvVars "context" $) | nindent 12 }}
{{- end }}
{{- if or .Values.blockdiag.extraEnvVarsCM .Values.blockdiag.extraEnvVarsSecret }}
envFrom:
{{- if .Values.blockdiag.extraEnvVarsCM }}
- configMapRef:
name: {{ include "common.tplvalues.render" (dict "value" .Values.blockdiag.extraEnvVarsCM "context" $) }}
{{- end }}
{{- if .Values.blockdiag.extraEnvVarsSecret }}
- secretRef:
name: {{ include "common.tplvalues.render" (dict "value" .Values.blockdiag.extraEnvVarsSecret "context" $) }}
{{- end }}
{{- end }}
ports:
- name: http
containerPort: {{ .Values.blockdiag.containerPorts.http }}
protocol: TCP
resources:
{{- toYaml .Values.blockdiag.resources | nindent 12 }}
{{- end }}
{{- if .Values.bpmn.enabled }}
- name: bpmn
securityContext:
Expand Down Expand Up @@ -279,40 +245,6 @@ spec:
resources:
{{- toYaml .Values.mermaid.resources | nindent 12 }}
{{- end }}
{{- if .Values.wireviz.enabled }}
- name: wireviz
securityContext:
{{- toYaml .Values.wireviz.securityContext | nindent 12 }}
image: {{ include "common.images.image" ( dict "imageRoot" .Values.wireviz.image "global" .Values.global ) }}
imagePullPolicy: {{ .Values.wireviz.image.pullPolicy }}
{{- if .Values.wireviz.extraArgs }}
args:
{{- range $key, $value := .Values.wireviz.extraArgs }}
- --{{ $key }}={{ $value }}
{{- end }}
{{- end }}
{{- if .Values.wireviz.extraEnvVars }}
env:
{{- include "common.tplvalues.render" (dict "value" .Values.wireviz.extraEnvVars "context" $) | nindent 12 }}
{{- end }}
{{- if or .Values.wireviz.extraEnvVarsCM .Values.wireviz.extraEnvVarsSecret }}
envFrom:
{{- if .Values.wireviz.extraEnvVarsCM }}
- configMapRef:
name: {{ include "common.tplvalues.render" (dict "value" .Values.wireviz.extraEnvVarsCM "context" $) }}
{{- end }}
{{- if .Values.wireviz.extraEnvVarsSecret }}
- secretRef:
name: {{ include "common.tplvalues.render" (dict "value" .Values.wireviz.extraEnvVarsSecret "context" $) }}
{{- end }}
{{- end }}
ports:
- name: http
containerPort: {{ .Values.wireviz.containerPorts.http }}
protocol: TCP
resources:
{{- toYaml .Values.wireviz.resources | nindent 12 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
Loading

0 comments on commit c933cd5

Please sign in to comment.