Skip to content

Commit

Permalink
Merge branch 'release/0.4.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Tecnobutrul committed Jun 28, 2023
2 parents 83e52c3 + dc71f65 commit 1106086
Show file tree
Hide file tree
Showing 7 changed files with 63 additions and 8 deletions.
22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,35 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased](https://github.com/passbolt/charts-passbolt/compare/v0.3.3...HEAD)
## [Unreleased](https://github.com/passbolt/charts-passbolt/compare/0.4.0...HEAD)

## [0.4.0] - 2023-06-28

This release includes breaking changes .Values.redisProxyResources now is .Values.app.cache.redis.sentinelProxy.resources

### Fixed

- [#29](https://github.com/passbolt/charts-passbolt/issues/29) Missing redis resources field

### Added

- [#30](https://github.com/passbolt/charts-passbolt/pull/30) Inject variables to pods from existing K8s secrets and inject extra env variables.

## [0.3.3] - 2023-06-15

### Fixed

- Added capability of using specific client on init database container, fixes [#26](https://github.com/passbolt/charts-passbolt/issues/26)

### Added

- Allow mounting custom volumes [#25](https://github.com/passbolt/charts-passbolt/pull/25)
- Bumped passbolt docker version to 4.0.2-2-ce that comes with support for debian bookworm and php 8.2.

## [0.3.2] - 2023-05-19

### Added

- [#18](https://github.com/passbolt/charts-passbolt/pull/18) Allow setting annotations on service
- Passbolt v4 as default application deployment version. Please read: https://help.passbolt.com/releases/ce/get-up-stand-up

Expand All @@ -27,6 +42,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Fix issue when disable sentinel proxy on api [#17](https://github.com/passbolt/charts-passbolt/pull/17)

### Added

- Added tests for disabled redis proxy


Expand All @@ -49,9 +65,11 @@ It also merges some PR to add more control over the bitnami charts used by defau
Thanks to @plusiv and @cm3brian for their contributions!

### Added

- [#10](https://github.com/passbolt/charts-passbolt/pull/10) feat: add mariadb persistence options

### Fixed

- [#11](https://github.com/passbolt/charts-passbolt/issues/11) Incorrect/not guaranteed refs present

## [0.2.0] - 2023-03-17
Expand All @@ -69,10 +87,12 @@ The downside however is that now this chart requires passbolt-3.12.0-3 as minima
We have also include a few contributions from the community, thanks to all of you who helped during this release!

### Added

- [#6](https://github.com/passbolt/charts-passbolt/pull/6) make kubectl more flexible
- Support for rootless images in HA scenarios

### Fixed

- [#9](https://github.com/passbolt/charts-passbolt/pull/9) set default value for EMAIL_TRANSPORT_DEFAULT_HOST

## [0.1.4] - 2023-03-06
Expand Down
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.3.3
version: 0.4.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<img src="./.assets/helm_passbolt.png" alt="passbolt sails kubernetes" width="500"/>
</h3>

![Version: 0.3.3](https://img.shields.io/badge/Version-0.3.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.0.2-2-ce](https://img.shields.io/badge/AppVersion-4.0.2--2--ce-informational?style=flat-square)
![Version: 0.4.0](https://img.shields.io/badge/Version-0.4.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.0.2-2-ce](https://img.shields.io/badge/AppVersion-4.0.2--2--ce-informational?style=flat-square)

Passbolt is an open source, security first password manager with strong focus on
collaboration.
Expand Down Expand Up @@ -82,7 +82,7 @@ To uninstall/delete the chart from your cluster:

```bash
helm delete my-release
````
```

The above command deletes all the kubernetes components associated with the
chart and deletes the release.
Expand All @@ -105,6 +105,7 @@ chart and deletes the release.
| app.cache.redis.sentinelProxy.image | object | `{"repository":"haproxy","tag":"latest"}` | Configure redis sentinel proxy image |
| app.cache.redis.sentinelProxy.image.repository | string | `"haproxy"` | Configure redis sentinel image repository |
| app.cache.redis.sentinelProxy.image.tag | string | `"latest"` | Configure redis sentinel image tag |
| app.cache.redis.sentinelProxy.resources | object | `{}` | Configure redis sentinel container resources |
| app.image.pullPolicy | string | `"IfNotPresent"` | Configure pasbolt deployment image pullPolicy |
| app.image.repository | string | `"passbolt/passbolt"` | Configure pasbolt deployment image repsitory |
| app.image.tag | string | `"4.0.2-2-ce"` | Overrides the image tag whose default is the chart appVersion. |
Expand All @@ -125,8 +126,8 @@ chart and deletes the release.
| gpgServerKeyPrivate | string | `""` | Gpg server private key in base64 |
| gpgServerKeyPublic | string | `""` | Gpg server public key in base64 |
| imagePullSecrets | list | `[]` | Configure image pull secrets |
| ingress.annotations | object | `{"nginx.ingress.kubernetes.io/backend-protocol":"HTTPS"}` | Configure passbolt ingress annotations |
| ingress.enabled | bool | `true` | Enable passbolt ingress |
| ingress.annotations | object | `{}` | Configure passbolt ingress annotations |
| ingress.enabled | bool | `false` | Enable passbolt ingress |
| ingress.hosts | list | `[]` | Configure passbolt ingress hosts |
| ingress.tls | list | `[]` | Configure passbolt ingress tls |
| jwtPath | string | `"/etc/passbolt/jwt"` | Configure passbolt jwt directory |
Expand Down Expand Up @@ -167,6 +168,8 @@ chart and deletes the release.
| networkPolicy.namespaceLabel | string | `"ingress-nginx"` | Configure network policies namespaceLabel for namespaceSelector |
| networkPolicy.podLabel | string | `"ingress-nginx"` | Configure network policies podLabel for podSelector |
| nodeSelector | object | `{}` | Configure passbolt deployment nodeSelector |
| passboltEnv.extraEnv | list | `[]` | Environment variables to add to the passbolt pods |
| passboltEnv.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the passbolt pods |
| passboltEnv.plain.APP_FULL_BASE_URL | string | `"https://passbolt.local"` | Configure passbolt fullBaseUrl |
| passboltEnv.plain.CACHE_CAKE_DEFAULT_SERVER | string | `"127.0.0.1"` | Configure passbolt cake cache server |
| passboltEnv.plain.DEBUG | bool | `false` | Toggle passbolt debug mode |
Expand Down
6 changes: 6 additions & 0 deletions templates/cronjob-proc-email.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,17 @@ spec:
env:
- name: DATASOURCES_DEFAULT_HOST
value: {{ include "passbolt.databaseServiceName" . }}
{{- with .Values.passboltEnv.extraEnv }}
{{- toYaml . | nindent 16 }}
{{- end }}
envFrom:
- configMapRef:
name: {{ $Name }}-cm-env
- secretRef:
name: {{ $Name }}-sec-env
{{- with .Values.passboltEnv.extraEnvFrom }}
{{- toYaml . | nindent 16 }}
{{- end }}
volumeMounts:
- name: {{ $Name }}-vol-success
mountPath: /tmp/pod
Expand Down
14 changes: 13 additions & 1 deletion templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,17 @@ spec:
env:
- name: DATASOURCES_DEFAULT_HOST
value: {{ include "passbolt.databaseServiceName" . }}
{{- with .Values.passboltEnv.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
envFrom:
- configMapRef:
name: {{ $Name }}-cm-env
- secretRef:
name: {{ $Name }}-sec-env
{{- with .Values.passboltEnv.extraEnvFrom }}
{{- toYaml . | nindent 12 }}
{{- end }}
containers:
- name: {{ $fullName }}
command:
Expand All @@ -91,11 +97,17 @@ spec:
env:
- name: DATASOURCES_DEFAULT_HOST
value: {{ include "passbolt.databaseServiceName" . }}
{{- with .Values.passboltEnv.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
envFrom:
- configMapRef:
name: {{ $Name }}-cm-env
- secretRef:
name: {{ $Name }}-sec-env
{{- with .Values.passboltEnv.extraEnvFrom }}
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
{{- if .Values.app.cache.redis.enabled }}
- mountPath: "/etc/passbolt/app.php"
Expand Down Expand Up @@ -134,7 +146,7 @@ spec:
name: {{ $fullName }}-sec-redis-proxy
readOnly: true
resources:
{{- toYaml .Values.redisProxyResources | nindent 12 }}
{{- toYaml .Values.app.cache.redis.sentinelProxy.resources | nindent 12 }}
{{- end -}}
{{- with .Values.nodeSelector }}
nodeSelector:
Expand Down
6 changes: 6 additions & 0 deletions templates/job-create-gpg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,17 @@ spec:
env:
- name: DATASOURCES_DEFAULT_HOST
value: {{ include "passbolt.databaseServiceName" . }}
{{- with .Values.passboltEnv.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
envFrom:
- configMapRef:
name: {{ $Name }}-cm-env
- secretRef:
name: {{ $Name }}-sec-env
{{- with .Values.passboltEnv.extraEnvFrom }}
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
- name: {{ $fullName }}-vol-success
mountPath: /tmp/pod
Expand Down
10 changes: 9 additions & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ app:
repository: haproxy
# -- Configure redis sentinel image tag
tag: "latest"
# -- Configure redis sentinel container resources
resources: {}
# -- Configure the passbolt deployment resources
resources: {}

Expand Down Expand Up @@ -202,7 +204,13 @@ passboltEnv:
# PASSBOLT_GPG_SERVER_KEY_FINGERPRINT:
# -- Configure passbolt security salt.
# SECURITY_SALT:

# -- Environment variables to add to the passbolt pods
extraEnv: []
# -- Environment variables from secrets or configmaps to add to the passbolt pods
extraEnvFrom:
[]
# - secretRef:
# name: passbolt-secret
## Passbolt deployment parameters

# -- If autoscaling is disabled this will define the number of pods to run
Expand Down

0 comments on commit 1106086

Please sign in to comment.