Skip to content

Commit 347aec5

Browse files
committed
Merge remote-tracking branch 'origin/master' into dev
2 parents b1ad7e8 + 8eef122 commit 347aec5

File tree

6 files changed

+65
-36
lines changed

6 files changed

+65
-36
lines changed

.github/workflows/docs.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,40 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v2
1515

16+
# Web site
17+
- name: Add some files
18+
run: |
19+
echo "akhq.io" > docs/CNAME
20+
cp LICENSE docs/LICENSE
21+
cp README.md docs/README.md
22+
cp README.md docs/README
23+
cp artifacthub-repo.yml docs/artifacthub-repo.yml
24+
1625
# Helm charts
1726
- uses: J12934/helm-gh-pages-action@master
1827
with:
1928
access-token: ${{ secrets.GITHUB_PERSONAL_TOKEN }}
2029
charts-folder: "helm"
2130
deploy-branch: helm
2231

23-
# Web site
24-
- name: Contributor
25-
run: |
26-
npm i github-contributors-list
27-
node_modules/.bin/githubcontrib --repo akhq --owner tchiotludo --format html --sortOrder desc > docs/contributors.html
28-
2932
# Clone helm charts
3033
- name: Clone helm charts
3134
uses: actions/checkout@v2
3235
with:
3336
ref: helm
3437
path: tmp-helm
3538

36-
# Web site
39+
# Add helm charts
3740
- name: Add helm charts
3841
run: |
3942
rm -rf tmp-helm/.git
4043
cp -R tmp-helm/* docs/
41-
echo "akhq.io" > docs/CNAME
44+
45+
# Contributors
46+
- name: Contributor
47+
run: |
48+
npm i github-contributors-list
49+
node_modules/.bin/githubcontrib --repo akhq --owner tchiotludo --format html --sortOrder desc > docs/contributors.html
4250
4351
# Deploy
4452
- name: Deploy

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
![Github Downloads](https://img.shields.io/github/downloads/tchiotludo/akhq/total)
77
![Github Start](https://img.shields.io/github/stars/tchiotludo/akhq.svg)
88
![Main](https://github.com/tchiotludo/akhq/workflows/Main/badge.svg)
9+
[![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/akhq)](https://artifacthub.io/packages/search?repo=akhq)
910

1011
> Kafka GUI for [Apache Kafka](http://kafka.apache.org/) to manage topics, topics data, consumers group, schema registry, connect and more...
1112

artifacthub-repo.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
repositoryID: 4ff0915c-0d71-4f9b-9440-2038c81039f9

helm/akhq/Chart.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ apiVersion: v1
22
appVersion: "1.0"
33
description: Kafka GUI for Apache Kafka to manage topics, topics data, consumers group, schema registry, connect and more...
44
name: akhq
5-
version: 0.1.2
5+
version: 0.1.3
66
keywords:
77
- kafka
88
- confluent
9-
- timeseries
10-
- influxdata
9+
- gui
10+
- schema-registry
11+
- kafka-connect
1112
home: https://akhq.io
1213
icon: https://raw.githubusercontent.com/tchiotludo/akhq/master/client/src/images/logo_black.png
1314
sources:

helm/akhq/templates/deployment.yaml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apps/v1
22
kind: Deployment
33
metadata:
44
name: {{ include "akhq.fullname" . }}
5-
{{- with .Values.image.annotations }}
5+
{{- with .Values.annotations }}
66
annotations:
77
{{- toYaml . | nindent 4 }}
88
{{- end }}
@@ -37,6 +37,10 @@ spec:
3737
imagePullSecrets:
3838
{{ toYaml .Values.imagePullSecrets | indent 8 }}
3939
{{- end }}
40+
{{- if .Values.securityContext }}
41+
securityContext:
42+
{{ toYaml .Values.securityContext | indent 8 }}
43+
{{- end }}
4044
{{- if .Values.initContainers }}
4145
initContainers:
4246
{{- range $key, $value := .Values.initContainers }}
@@ -49,15 +53,13 @@ spec:
4953
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
5054
imagePullPolicy: {{ .Values.image.pullPolicy | default "Always" }}
5155
env:
52-
{{- if .Values.secrets }}
53-
- name: MICRONAUT_ENVIRONMENTS
54-
value: secrets
55-
- name: MICRONAUT_CONFIG_FILES
56-
value: /app/application.yml,/app/application-secrets.yml
57-
{{- end }}
58-
{{- with .Values.image.extraEnv }}
59-
{{ toYaml . | trim | indent 10 }}
60-
{{- end }}
56+
{{- if $.Values.extraEnv }}{{ toYaml $.Values.extraEnv | trim | nindent 12 }}{{ end }}
57+
{{- if .Values.secrets }}
58+
- name: MICRONAUT_ENVIRONMENTS
59+
value: secrets
60+
- name: MICRONAUT_CONFIG_FILES
61+
value: /app/application.yml,/app/application-secrets.yml
62+
{{- end }}
6163
volumeMounts:
6264
{{- if .Values.extraVolumeMounts }}{{ toYaml .Values.extraVolumeMounts | trim | nindent 12 }}{{ end }}
6365
{{- if .Values.configuration }}

helm/akhq/values.yaml

Lines changed: 31 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
1-
#imagePullSecrets:
1+
# imagePullSecrets:
22
# - name: my-repository-secret
33
image:
44
repository: tchiotludo/akhq
55
tag: latest
6-
annotations: {}
7-
#prometheus.io/scrape: 'true'
8-
#prometheus.io/port: '8080'
9-
#prometheus.io/path: '/metrics'
10-
extraEnv: []
11-
## You can put directly your configuration here...
12-
# - name: AKHQ_CONFIGURATION
13-
# value: |
14-
# akhq:
15-
# secrets:
16-
# docker-kafka-server:
17-
# properties:
18-
# bootstrap.servers: "kafka:9092"
196

7+
# custom annotations (example: for prometheus)
8+
annotations: {}
9+
#prometheus.io/scrape: 'true'
10+
#prometheus.io/port: '8080'
11+
#prometheus.io/path: '/prometheus'
12+
13+
## You can put directly your configuration here... or add java opts or any other env vars
14+
extraEnv: []
15+
# - name: AKHQ_CONFIGURATION
16+
# value: |
17+
# akhq:
18+
# secrets:
19+
# docker-kafka-server:
20+
# properties:
21+
# bootstrap.servers: "kafka:9092"
22+
# - name: JAVA_OPTS
23+
# value: "-Djavax.net.ssl.trustStore=/usr/local/openjdk-11/lib/security/cacerts -Djavax.net.ssl.trustStorePassword=password"
2024

2125
## Or you can also use configmap for the configuration...
2226
configuration: |
@@ -25,6 +29,7 @@ configuration: |
2529
access-log:
2630
enabled: false
2731
name: org.akhq.log.access
32+
2833
##... and secret for connection information
2934
secrets: |
3035
akhq:
@@ -41,10 +46,13 @@ secrets: |
4146
url: "http://connect:8083"
4247
basic-auth-username: basic-auth-user
4348
basic-auth-password: basic-auth-pass
49+
4450
# Any extra volumes to define for the pod (like keystore/truststore)
4551
extraVolumes: []
52+
4653
# Any extra volume mounts to define for the akhq container
4754
extraVolumeMounts: []
55+
4856
# Add your own init container or uncomment and modify the example.
4957
initContainers: {}
5058
# create-keystore:
@@ -54,6 +62,14 @@ initContainers: {}
5462
# - mountPath: /tmp
5563
# name: certs
5664

65+
securityContext: {}
66+
# capabilities:
67+
# drop:
68+
# - ALL
69+
# # readOnlyRootFilesystem: true
70+
# runAsNonRoot: true
71+
# runAsUser: 1000
72+
5773
service:
5874
enabled: true
5975
type: ClusterIP
@@ -86,4 +102,4 @@ nodeSelector: {}
86102

87103
tolerations: []
88104

89-
affinity: {}
105+
affinity: {}

0 commit comments

Comments
 (0)