helm(minor): remove rabbitmq
This commit is contained in:
		
							
								
								
									
										9
									
								
								helm/passbook/Chart.lock
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								helm/passbook/Chart.lock
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,9 @@ | |||||||
|  | dependencies: | ||||||
|  | - name: postgresql | ||||||
|  |   repository: https://kubernetes-charts.storage.googleapis.com/ | ||||||
|  |   version: 6.3.10 | ||||||
|  | - name: redis | ||||||
|  |   repository: https://kubernetes-charts.storage.googleapis.com/ | ||||||
|  |   version: 9.2.1 | ||||||
|  | digest: sha256:bdde250e1401dccdd5161e39c807f9e88b05e3e8e72e74df767a1bbb5fc39a4a | ||||||
|  | generated: "2019-10-01T10:46:06.542706+02:00" | ||||||
| @ -1 +0,0 @@ | |||||||
| # passbook |  | ||||||
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								helm/passbook/charts/postgresql-6.3.10.tgz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								helm/passbook/charts/postgresql-6.3.10.tgz
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								helm/passbook/charts/redis-9.2.1.tgz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								helm/passbook/charts/redis-9.2.1.tgz
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| @ -1,98 +0,0 @@ | |||||||
| --- |  | ||||||
| categories: |  | ||||||
|   - Authentication |  | ||||||
|   - SSO |  | ||||||
| questions: |  | ||||||
|   - default: "true" |  | ||||||
|     variable: config.error_reporting |  | ||||||
|     type: boolean |  | ||||||
|     description: "Enable error-reporting to sentry.services.beryju.org" |  | ||||||
|     group: "passbook Configuration" |  | ||||||
|     label: "Error Reporting" |  | ||||||
|     #################################################################### |  | ||||||
|     ### PostgreSQL |  | ||||||
|     #################################################################### |  | ||||||
|   - variable: postgresql.enabled |  | ||||||
|     default: true |  | ||||||
|     description: "Deploy a database server as part of this deployment, or set to false and configure an external database connection." |  | ||||||
|     type: boolean |  | ||||||
|     required: true |  | ||||||
|     label: Install PostgreSQL |  | ||||||
|     show_subquestion_if: true |  | ||||||
|     group: "Database Settings" |  | ||||||
|     subquestions: |  | ||||||
|       - variable: postgresql.postgresqlDatabase |  | ||||||
|         default: "passbook" |  | ||||||
|         description: "Database name to create" |  | ||||||
|         type: string |  | ||||||
|         label: PostgreSQL Database |  | ||||||
|       - variable: postgresql.postgresqlUsername |  | ||||||
|         default: "passbook" |  | ||||||
|         description: "Database user to create" |  | ||||||
|         type: string |  | ||||||
|         label: PostgreSQL User |  | ||||||
|       - variable: postgresql.postgresqlPassword |  | ||||||
|         default: "" |  | ||||||
|         description: "password will be auto-generated if not specified" |  | ||||||
|         type: password |  | ||||||
|         label: PostgreSQL Password |  | ||||||
|   - variable: externalDatabase.host |  | ||||||
|     default: "" |  | ||||||
|     description: "Host of the external database" |  | ||||||
|     type: string |  | ||||||
|     label: External Database Host |  | ||||||
|     show_if: "postgresql.enabled=false" |  | ||||||
|     group: "Database Settings" |  | ||||||
|   - variable: externalDatabase.user |  | ||||||
|     default: "" |  | ||||||
|     description: "Existing username in the external DB" |  | ||||||
|     type: string |  | ||||||
|     label: External Database username |  | ||||||
|     show_if: "postgresql.enabled=false" |  | ||||||
|     group: "Database Settings" |  | ||||||
|   - variable: externalDatabase.password |  | ||||||
|     default: "" |  | ||||||
|     description: "External database password" |  | ||||||
|     type: password |  | ||||||
|     label: External Database password |  | ||||||
|     show_if: "postgresql.enabled=false" |  | ||||||
|     group: "Database Settings" |  | ||||||
|   - variable: externalDatabase.database |  | ||||||
|     default: "" |  | ||||||
|     description: "Name of the existing database" |  | ||||||
|     type: string |  | ||||||
|     label: External Database |  | ||||||
|     show_if: "postgresql.enabled=false" |  | ||||||
|     group: "Database Settings" |  | ||||||
|   - variable: externalDatabase.port |  | ||||||
|     default: "3306" |  | ||||||
|     description: "External database port number" |  | ||||||
|     type: string |  | ||||||
|     label: External Database Port |  | ||||||
|     show_if: "postgresql.enabled=false" |  | ||||||
|     group: "Database Settings" |  | ||||||
|   - variable: postgresql.persistence.enabled |  | ||||||
|     default: false |  | ||||||
|     description: "Enable persistent volume for PostgreSQL" |  | ||||||
|     type: boolean |  | ||||||
|     required: true |  | ||||||
|     label: PostgreSQL Persistent Volume Enabled |  | ||||||
|     show_if: "postgresql.enabled=true" |  | ||||||
|     show_subquestion_if: true |  | ||||||
|     group: "Database Settings" |  | ||||||
|     subquestions: |  | ||||||
|       - variable: postgresql.master.persistence.size |  | ||||||
|         default: "8Gi" |  | ||||||
|         description: "PostgreSQL Persistent Volume Size" |  | ||||||
|         type: string |  | ||||||
|         label: PostgreSQL Volume Size |  | ||||||
|       - variable: postgresql.master.persistence.storageClass |  | ||||||
|         default: "" |  | ||||||
|         description: "If undefined or null, uses the default StorageClass. Default to null" |  | ||||||
|         type: storageclass |  | ||||||
|         label: Default StorageClass for PostgreSQL |  | ||||||
|       - variable: postgresql.master.persistence.existingClaim |  | ||||||
|         default: "" |  | ||||||
|         description: "If not empty, uses the specified existing PVC instead of creating new one" |  | ||||||
|         type: string |  | ||||||
|         label: Existing Persistent Volume Claim for PostgreSQL |  | ||||||
| @ -1,10 +1,7 @@ | |||||||
| dependencies: | dependencies: | ||||||
| - name: rabbitmq |  | ||||||
|   version: 4.3.2 |  | ||||||
|   repository: https://kubernetes-charts.storage.googleapis.com/ |  | ||||||
| - name: postgresql | - name: postgresql | ||||||
|   version: 3.10.1 |   version: 6.3.10 | ||||||
|   repository: https://kubernetes-charts.storage.googleapis.com/ |   repository: https://kubernetes-charts.storage.googleapis.com/ | ||||||
| - name: redis | - name: redis | ||||||
|   version: 5.1.0 |   version: 9.2.1 | ||||||
|   repository: https://kubernetes-charts.storage.googleapis.com/ |   repository: https://kubernetes-charts.storage.googleapis.com/ | ||||||
|  | |||||||
| @ -4,41 +4,18 @@ metadata: | |||||||
|   name: {{ include "passbook.fullname" . }}-config |   name: {{ include "passbook.fullname" . }}-config | ||||||
| data: | data: | ||||||
|   config.yml: | |   config.yml: | | ||||||
|     # Env for Docker images |     postgresql: | ||||||
|     databases: |       host: "{{ .Release.Name }}-postgresql" | ||||||
|       default: |       name: "{{ .Values.postgresql.postgresqlDatabase }}" | ||||||
|         engine: django.db.backends.postgresql |  | ||||||
|         name: {{ .Values.postgresql.postgresqlDatabase }} |  | ||||||
|       user: postgres |       user: postgres | ||||||
|         password: {{ .Values.postgresql.postgresqlPassword }} |       password: "{{ .Values.postgresql.postgresqlPassword }}" | ||||||
|         host: {{ .Release.Name }}-postgresql |     redis: | ||||||
|         port: '' |       host: "{{ .Release.Name }}-redis-master" | ||||||
|     log: |       password: "{{ .Values.redis.password }}" | ||||||
|       level: |       cache_db: 0 | ||||||
|         console: WARNING |       message_queue_db: 1 | ||||||
|         file: WARNING |  | ||||||
|       file: /dev/null |     # Error reporting, sends stacktrace to sentry.beryju.org | ||||||
|       syslog: |  | ||||||
|         host: 127.0.0.1 |  | ||||||
|         port: 514 |  | ||||||
|     email: |  | ||||||
|       host: {{ .Values.config.email.host }} |  | ||||||
|       port: 25 |  | ||||||
|       user: '' |  | ||||||
|       password: '' |  | ||||||
|       use_tls: false |  | ||||||
|       use_ssl: false |  | ||||||
|       from: passbook <passbook@domain.tld> |  | ||||||
|     web: |  | ||||||
|       listen: 0.0.0.0 |  | ||||||
|       port: 8000 |  | ||||||
|       threads: 30 |  | ||||||
|     debug: false |  | ||||||
|     secure_proxy_header: |  | ||||||
|       HTTP_X_FORWARDED_PROTO: https |  | ||||||
|     rabbitmq: "user:{{ .Values.rabbitmq.rabbitmq.password }}@{{ .Release.Name }}-rabbitmq" |  | ||||||
|     redis: ":{{ .Values.redis.password }}@{{ .Release.Name }}-redis-master/0" |  | ||||||
|     # Error reporting, sends stacktrace to sentry.services.beryju.org |  | ||||||
|     error_report_enabled: {{ .Values.config.error_reporting }} |     error_report_enabled: {{ .Values.config.error_reporting }} | ||||||
|  |  | ||||||
|     {{- if .Values.config.secret_key }} |     {{- if .Values.config.secret_key }} | ||||||
|  | |||||||
| @ -1,6 +1,6 @@ | |||||||
| """passbook core config loader""" | """passbook core config loader""" | ||||||
| import os | import os | ||||||
| from collections import Mapping | from collections.abc import Mapping | ||||||
| from contextlib import contextmanager | from contextlib import contextmanager | ||||||
| from glob import glob | from glob import glob | ||||||
| from typing import Any | from typing import Any | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Langhammer, Jens
					Langhammer, Jens