Skip to content

Commit

Permalink
Merge branch 'master' into gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
sebdevaux committed Oct 4, 2023
2 parents 85a34eb + 3fae9a1 commit 3cda0c6
Show file tree
Hide file tree
Showing 76 changed files with 137 additions and 8,565 deletions.
20 changes: 0 additions & 20 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,6 @@ commands:
command: helm lint << parameters.folder >>

jobs:
test-am-charts:
docker:
- image: cimg/base:stable
resource_class: small
steps:
- checkout
- helm/install-helm-client:
version: v3.7.1
- install-helm-unittest
- lint:
folder: am
- execute-tests:
folder: am
files: tests/*.yaml
output-file: am-result.xml
- store_test_results:
path: am-result.xml

test-cockpit-charts:
docker:
- image: cimg/base:stable
Expand Down Expand Up @@ -98,8 +80,6 @@ jobs:
workflows:
test-charts:
jobs:
- test-am-charts:
name: AM - Lint & Test
- test-cockpit-charts:
name: Cockpit - Lint & Test
- lint-charts:
Expand Down
10 changes: 10 additions & 0 deletions ae/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

This file documents all notable changes to [Gravitee.io Alert Engine](https://github.com/gravitee-io/helm-charts/tree/master/ae) Helm Chart. The release numbering uses [semantic versioning](http://semver.org).

### 1.1.44

- [X] Allow users to define extra manifests
- [X] Upgrade AE version

### 1.1.43

- [X] Allow wildcard in ingress host
- [X] Add podSecurityContext

### 1.1.42

- [X] Allow users to define their own configuration file by defining a volume
Expand Down
8 changes: 4 additions & 4 deletions ae/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v1
name: ae
# When the version is modified, make sure the artifacthub.io/changes list is updated
# Also update CHANGELOG.md
version: 1.1.43
appVersion: 2.0.0
version: 1.1.44
appVersion: 2.1.5
description: Official Gravitee.io Helm chart for Alert Engine
home: https://gravitee.io
sources:
Expand All @@ -20,6 +20,6 @@ annotations:
# List of changes for the release in artifacthub.io
# https://artifacthub.io/packages/helm/graviteeio/ae?modal=changelog
artifacthub.io/changes: |
- Allow wildcard in ingress host
- Add podSecurityContext
- Allow users to define extra manifests
- Upgrade AE version
8 changes: 8 additions & 0 deletions ae/templates/extra-manifests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{{ range .Values.extraObjects }}
---
{{ if typeIs "string" . }}
{{- tpl . $ }}
{{- else }}
{{- tpl (toYaml .) $ }}
{{- end }}
{{ end }}
35 changes: 35 additions & 0 deletions ae/tests/extra-manifests_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
suite: Test extra-manifests
templates:
- "extra-manifests.yaml"
tests:
- it: Check no extra-manifests manifest is defined by default
asserts:
- hasDocuments:
count: 0

- it: Should create a secret
set:
extraObjects:
- apiVersion: v1
kind: Secret
metadata:
name: gravitee-license
type: Opaque
data:
license.key: myLicenceInBase64==
asserts:
- hasDocuments:
count: 1
- isKind:
of: Secret
- isAPIVersion:
of: v1
- equal:
path: type
value: Opaque
- equal:
path: metadata.name
value: gravitee-license
- equal:
path: data.license\.key
value: myLicenceInBase64==
11 changes: 11 additions & 0 deletions ae/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

# -- Array of extra K8s manifests to deploy
extraObjects: []
#- apiVersion: v1
# kind: Secret
# metadata:
# name: gravitee-license
# namespace: graviteeio
# type: Opaque
# data:
# license.key: myLicenceInBase64==

chaos:
enabled: false

Expand Down
22 changes: 0 additions & 22 deletions am/.helmignore

This file was deleted.

Loading

0 comments on commit 3cda0c6

Please sign in to comment.