Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Commit

Permalink
redis standalone mode (#164)
Browse files Browse the repository at this point in the history
* use redis in standalone mode
* use latest version of chart-releaser-action
  • Loading branch information
libuweber authored Jun 22, 2022
1 parent 1054bb7 commit 6520132
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 12 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "'${{ secrets.TECHNICAL_USER }}'"
Expand All @@ -27,8 +29,7 @@ jobs:
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add ealenn https://ealenn.github.io/charts
- name: Run chart-releaser
uses: helm/[email protected]
with:
config: .github/ct.yaml
uses: helm/[email protected]
env:
CR_TOKEN: '${{ secrets.TECHNICAL_USER_TOKEN }}'
CR_SKIP_EXISTING: true
14 changes: 8 additions & 6 deletions charts/microgateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ version: 3.0.14
appVersion: "3.1.9"
annotations:
artifacthub.io/changes: |
- kind: security
description: Upgrade to Airlock Microgateway 3.1.9
- kind: changed
description: Helm 3 Migration
- kind: changed
description: Upgrade bitnami/redis subchart to version 15.7.6 (Redis 6.2.6). Consult the Bitnami Redis upgrade instructions in case of customized Redis configuration.
links:
- name: Microgateway Release Notes
url: https://docs.airlock.com/microgateway/3.1/#data/releasenotes_1.html
- name: Microgateway Change Log
url: https://docs.airlock.com/microgateway/3.1/#data/airlockmicro.html
- name: Bitnami Redis Upgrade Instructions
url: https://github.com/bitnami/charts/tree/master/bitnami/redis
- kind: fixed
description: Run Redis in standalone mode.
artifacthub.io/links: |
- name: Airlock Microgateway Manual
url: https://docs.airlock.com/microgateway/latest/
Expand Down
10 changes: 10 additions & 0 deletions charts/microgateway/DEVELOPER_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,13 @@ Readme changes therefore have to be done in the template file 'README.md.gotempl
### Testing Readme Generation
The README.md can be generated using the command `make` in the root directory of this repository.
It uses a [helm-docs docker image](https://hub.docker.com/r/jnorwood/helm-docs) to create the README.md.

## Releasing
The Microgateway Helm Chart is automatically released when a pull request is merged into the master branch if the following conditions are true:
- There are actual changes in the chart.
- The chart version is incremented.

Make sure that you have updated the artifacthub.io/changes annotation in the Chart.yaml if you plan to release a PR.

### Merging a PR without Releasing
If you do not change the chart version in the Chart.yaml, the release workflow will not be triggered.
3 changes: 1 addition & 2 deletions charts/microgateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,7 @@ redis:
# redis.enabled -- Deploy pre-configured [Redis](#redis).
enabled: false
fullnameOverride: redis
cluster:
enabled: false
architecture: standalone
auth:
enabled: false
master:
Expand Down

0 comments on commit 6520132

Please sign in to comment.