Skip to content

Commit

Permalink
2.2.0 th2 5144 th2 5132 (#478)
Browse files Browse the repository at this point in the history
* th2-5144 changes

---------

Co-authored-by: andrey.shulika <[email protected]>
  • Loading branch information
Andrei-Shulika and andrey.shulika authored Dec 7, 2023
1 parent bdef0cf commit ad6cc11
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-unit-test-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
python-version: 3.8

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.4.0
uses: helm/chart-testing-action@v2.6.1

- name: run unit test
run: |
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,12 @@ rabbitmq:
# # authentication password
# # when using token auth for GitLab it should be equal to token itself
# # when using token auth for GitHub it should be equal to empty string
# #required, default pass for admin user is "th2"
# #you can setup your own list of users with passwords generated by https://bcrypt-generator.com/. Recomended rounds more than 10.
# http:
# adminAccounts:
# admin: $2a$10$MAPTPX12NwxtwBxRB47ZHODCUWwgwKqdMPzNtmRUZ.NH.5UBrR5u2
#
# required if http(s) access to gitlab/github repositories is used
#converter:
# git:
Expand Down
2 changes: 1 addition & 1 deletion chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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: 2.1.0
version: 2.2.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
9 changes: 9 additions & 0 deletions chart/templates/configs/_infraMgr-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ data:
httpAuthUsername: "${HTTPS_AUTH_USERNAME}"
httpAuthPassword: "${HTTPS_AUTH_PASSWORD}"
behaviour:
permittedToRemoveNamespace: {{ .Values.infraMgr.behaviour.permittedToRemoveNamespace }}
http:
adminAccounts:
{{- with .Values.infraMgr.http.adminAccounts }}
{{- toYaml . | nindent 8 }}
{{- end }}
rabbitmq:
vhostName: {{ .Values.rabbitmq.rabbitmqVhost | quote }}
secret: {{ default .Values.infraMgr.rabbitmq.secret .Values.rabbitmq.fullnameOverride }}
Expand Down
9 changes: 7 additions & 2 deletions chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# Default values for th2-infra.

# default pass for admin user - "th2", used in infrMgr
# -- Registries are attached as pull secrets to pods
registries: {}
# myregistry.com:
Expand Down Expand Up @@ -130,7 +130,12 @@ infraMgr:
port: 9752
image:
repository: ghcr.io/th2-net/th2-infra-mgr
tag: 2.3.7
tag: 2.4.0-TH2-5132-7057309681-d1796c6
behaviour:
permittedToRemoveNamespace: true
http:
adminAccounts:
admin: $2a$10$MAPTPX12NwxtwBxRB47ZHODCUWwgwKqdMPzNtmRUZ.NH.5UBrR5u2
git:
secretName: infra-mgr
sshDir: /home/service/keys
Expand Down

0 comments on commit ad6cc11

Please sign in to comment.