Skip to content

Commit

Permalink
chore(helm): prepare v0.4.5
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Bähler <[email protected]>
  • Loading branch information
oliverbaehler authored and prometherion committed Nov 6, 2023
1 parent f7bf2ca commit 139597c
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 13 deletions.
25 changes: 21 additions & 4 deletions charts/capsule-proxy/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apiVersion: v2
appVersion: 0.4.4
appVersion: 0.4.5
description: Helm Chart for Capsule Proxy, addon for Capsule, the multi-tenant Operator
name: capsule-proxy
type: application
version: 0.5.0
home: https://github.com/projectcapsule/capsule-proxy
icon: https://github.com/projectcapsule/capsule/raw/master/assets/logo/capsule_small.png
icon: https://github.com/projectcapsule/capsule/raw/main/assets/logo/capsule_small.png
keywords:
- kubernetes
- operator
Expand All @@ -18,5 +18,22 @@ keywords:
sources:
- https://capsule.clastix.io/docs/general/proxy
maintainers:
- email: [email protected]
name: Clastix Labs Team
- name: capsule-maintainers
email: [email protected]
annotations:
artifacthub.io/containsSecurityUpdates: "true"
artifacthub.io/operator: "true"
artifacthub.io/prerelease: "false"
artifacthub.io/category: security
artifacthub.io/license: Apache-2.0
artifacthub.io/maintainers: |
- name: capsule-maintainers
email: [email protected]
artifacthub.io/links: |
- name: Documentation
url: https://capsule.clastix.io/
artifacthub.io/changes: |
- kind: added
description: artifacthub annotations
- kind: changed
description: maintainers contact
8 changes: 5 additions & 3 deletions charts/capsule-proxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,14 @@ If you only need to make minor customizations, you can specify them on the comma
| daemonset.hostNetwork | bool | `false` | Use the host network namespace for capsule-proxy pod. |
| daemonset.hostPort | bool | `false` | Binding the capsule-proxy listening port to the host port. |
| image.pullPolicy | string | `"IfNotPresent"` | Set the image pull policy. |
| image.repository | string | `"clastix/capsule-proxy"` | Set the image repository of the capsule-proxy. |
| image.registry | string | `"ghcr.io"` | Set the image registry for capsule-proxy |
| image.repository | string | `"projectcapsule/capsule-proxy"` | Set the image repository for capsule-proxy. |
| image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | `[]` | Configuration for `imagePullSecrets` so that you can use a private images registry. |
| jobs.annotations | object | `{}` | Annotations to add to the certgen job. |
| jobs.certs.pullPolicy | string | `"IfNotPresent"` | Set the image pull policy of the post install certgen job |
| jobs.certs.repository | string | `"docker.io/jettech/kube-webhook-certgen"` | Set the image repository of the post install certgen job |
| jobs.certs.registry | string | `"docker.io"` | Set the image repository of the post install certgen job |
| jobs.certs.repository | string | `"jettech/kube-webhook-certgen"` | Set the image repository of the post install certgen job |
| jobs.certs.tag | string | `"v1.3.0"` | Set the image tag of the post install certgen job |
| jobs.podSecurityContext | object | `{"seccompProfile":{"type":"RuntimeDefault"}}` | Security context for the job pods. |
| jobs.securityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsGroup":1002,"runAsNonRoot":true,"runAsUser":1002}` | Security context for the job containers. |
Expand Down Expand Up @@ -138,7 +140,7 @@ If you only need to make minor customizations, you can specify them on the comma
| ingress.annotations | object | `{}` | Annotations to add to the capsule-proxy ingress. |
| ingress.className | string | `""` | Set the IngressClass to use for the capsule-proxy ingress (do not set via annotations if setting here). |
| ingress.enabled | bool | `false` | Specifies whether an ingress should be created. |
| ingress.hosts[0] | object | `{"host":"kube.clastix.io","paths":["/"]}` | Set the host configuration for the capsule-proxy ingress. |
| ingress.hosts[0] | object | `{"host":"kube.capsule.io","paths":["/"]}` | Set the host configuration for the capsule-proxy ingress. |
| ingress.hosts[0].paths | list | `["/"]` | Set the path configuration for the capsule-proxy ingress. |
| ingress.tls | list | `[]` | Set the tls configuration for the capsule-proxy ingress. |

Expand Down
4 changes: 2 additions & 2 deletions charts/capsule-proxy/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ Create the name of the service account to use
Create the fully-qualified Docker image to use
*/}}
{{- define "capsule-proxy.fullyQualifiedDockerImage" -}}
{{- printf "%s:%s" .Values.image.repository ( .Values.image.tag | default (printf "v%s" .Chart.AppVersion) ) -}}
{{- printf "%s/%s:%s" .Values.image.registry .Values.image.repository ( .Values.image.tag | default (printf "v%s" .Chart.AppVersion) ) -}}
{{- end }}

{{/*
Create the certs jobs fully-qualified Docker image to use
*/}}
{{- define "capsule.jobs.certsFullyQualifiedDockerImage" -}}
{{- printf "%s:%s" .Values.jobs.certs.repository .Values.jobs.certs.tag -}}
{{- printf "%s/%s:%s" .Values.jobs.certs.registry .Values.jobs.certs.repository .Values.jobs.certs.tag -}}
{{- end -}}

{{/*
Expand Down
12 changes: 8 additions & 4 deletions charts/capsule-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,20 @@
# -- Set the deployment mode of the capsule-proxy as `Deployment` or `DaemonSet`.
kind: Deployment
image:
# -- Set the image repository of the capsule-proxy.
repository: clastix/capsule-proxy
# -- Set the image registry for capsule-proxy
registry: ghcr.io
# -- Set the image repository for capsule-proxy.
repository: projectcapsule/capsule-proxy
# -- Set the image pull policy.
pullPolicy: IfNotPresent
# -- Overrides the image tag whose default is the chart appVersion.
tag: ""
jobs:
certs:
# -- Set the image repository of the post install certgen job
repository: docker.io/jettech/kube-webhook-certgen
registry: docker.io
# -- Set the image repository of the post install certgen job
repository: jettech/kube-webhook-certgen
# -- Set the image pull policy of the post install certgen job
pullPolicy: IfNotPresent
# -- Set the image tag of the post install certgen job
Expand Down Expand Up @@ -227,7 +231,7 @@ ingress:
annotations: {}
hosts:
# -- Set the host configuration for the capsule-proxy ingress.
- host: "kube.clastix.io"
- host: "kube.capsule.io"
# -- Set the path configuration for the capsule-proxy ingress.
paths: ["/"]
# -- Set the tls configuration for the capsule-proxy ingress.
Expand Down

0 comments on commit 139597c

Please sign in to comment.