Skip to content

Commit afbf996

Browse files
author
PJEstrada
authored
Merge branch 'main' into add-shutdown-grace-time
2 parents bd88c6d + cb415ae commit afbf996

34 files changed

+537
-325
lines changed

.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,21 @@ values_production*
77

88

99
values_staging.yaml
10+
11+
.vs
12+
example.com\+5-key.pem
13+
14+
example.com\+5.pem
15+
16+
example.com\+6-key.pem
17+
18+
example.com\+6.pem
19+
20+
# Chart dependencies
21+
**/charts/*.tgz
22+
ca.crt
23+
24+
ca.key
25+
26+
local-ca.crt
27+
/values_local.yaml

.helmignore

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
.idea/*
3+
values_testing.yaml
4+
values_testing_*
5+
values_production*
6+
7+
8+
values_staging.yaml
9+
10+
.vs
11+
example.com\+5-key.pem
12+
13+
example.com\+5.pem
14+
15+
example.com\+6-key.pem
16+
17+
example.com\+6.pem
18+
19+
# Chart dependencies
20+
ca.crt
21+
22+
*.txt
23+
.git
24+
README.md
25+
26+
ca.key
27+
28+
local-ca.crt
29+
/values_local.yaml

Chart.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
2-
- name: cert-manager
3-
repository: https://charts.jetstack.io/
4-
version: v1.1.0
5-
digest: sha256:50d9686126f61b7d7b8a50112464b41ac426a483ae053b4820c9e5f953cf7b76
6-
generated: "2021-01-29T14:30:59.744116786-06:00"
2+
- name: rabbitmq
3+
repository: https://charts.bitnami.com/bitnami
4+
version: 9.1.4
5+
digest: sha256:a92c6d671ae303d36df25c5c05705ee5193e1e22a6987e1476f4f815aa9887d7
6+
generated: "2022-05-24T22:45:09.592488539-06:00"

Chart.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,16 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.0
18+
version: 1.0.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "0.0.1"
24+
appVersion: "0.0.1"
25+
26+
dependencies:
27+
- name: rabbitmq
28+
version: 9.1.4
29+
repository: https://charts.bitnami.com/bitnami
30+
condition: useRabbitMq

README.md

Lines changed: 87 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,69 @@
11
# diffgram-helm
22
Helm Chart for DIffgram
33

4-
# Pre-requisites
5-
### Opencore or Enterprise
64

7-
Make sure you set the value of `diffgramEdition` in the `values.yaml` to either `opencore`
8-
or `enterprise`.
5+
Full Tutorial on Azure: https://medium.com/diffgram/tutorial-installing-diffgram-on-azure-aks-b9447685e271
96

10-
If you set the `diffgramEdition` to `enterprise` you will have to provide the GCR credentials
11-
Key (Provided by the Diffgram Team). And set the value on `imagePullCredentials.gcrCredentials` value inside the `values.yaml` file.
12-
### Setting Up the Docker Registry Key (Enterprise Only):
7+
# How to Install:
138

14-
To install the helm chart with the Enterprise Edition of Diffgram you will need to receive a GCR key with the permissions from
15-
the Diffgram team to fetch our images.
9+
## A. Pre-requisites
1610

17-
Please Contact us if you want to get one here: https://diffgram.com/contact
11+
### Ingress Controller
12+
If you are using minikube make sure you've done:
1813

19-
Once you have your GCR Key please set it in the `values.yaml` file, specifically inside the
20-
key `imagePullCredentials.gcrCredentials`.
14+
`minikube addons enable ingress`
2115

16+
To have the ingress enabled, otherwise you won't be able to acess your diffgram services from outside the cluster.
2217

18+
If you are not on minikube, you can use the Nginx K8s Ingress Controller. Check how to install on your cloud provider here: https://kubernetes.github.io/ingress-nginx/deploy/
19+
20+
### TLS Ceritificates
21+
#### Using minikube (For local testing)
22+
Install Cert Manager
23+
24+
https://artifacthub.io/packages/helm/microfunctions/cert-manager
2325
```
24-
imagePullCredentials:
25-
# The service account with permissions to pull from the GCR Repository. [Should be Provided by Diffgram Team.]
26-
gcrCredentials: <YOUR KEY GOES HERE>
26+
kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.2.0/cert-manager.crds.yaml
27+
helm repo add jetstack https://charts.jetstack.io
28+
helm install cert-manager --namespace default jetstack/cert-manager --set installCRDs=true
2729
```
2830

2931

32+
Default domain on diffgram is: `example.com` so make sure you add that to your local hosts file:
3033

31-
### TLS Ceritificates
34+
`echo "$(minikube ip) example.com" | sudo tee -a /etc/hosts`
35+
36+
In order for TLS to work on your local machine, you will need to provide local certificate authorities.
37+
Otherwise your web browser will detect the certificates as invalid.
38+
39+
To do that you can generate a key and certificate like this:
40+
```
41+
# Generate key
42+
openssl genrsa -out ca.key 2048
43+
# Create CA certificate signing it with the previous key.
44+
openssl req -x509 -new -nodes -key ca.key -sha256 -subj "/CN=sampleissuer.local" -days 1024 -out ca.crt -extensions v3_ca
45+
```
46+
Now create the certificates as secrets on your minkube cluster:
47+
```angular2html
48+
kubectl create secret tls my-local-ca-key-pair --key=ca.key --cert=ca.crt
49+
```
50+
Finally Modify your `values.yaml` so that helm chart can grab the secret using cert-manager
51+
issuers. Set `tlsIssuer` to `issuer-local` and `localCaSecretName` to the name you have to the secret created above:
52+
53+
```angular2html
54+
tlsIssuer: issuer-local # One of: "issuer-local", "letsencrypt-staging", or "letsencrypt-prod"
55+
localCaSecretName: my-local-ca-key-pair
56+
57+
```
58+
59+
60+
#### Using cert-manager & Public Domains
61+
62+
##### Caution
63+
This guide assumes you will be using a regular domain name like `diffgram.com`. If you are using an auto generated domain name it may require different configuration.
64+
SSL is up to you/your IT team. For debugging the config tools like [SSL Labs](https://www.ssllabs.com/ssltest/analyze.html) may be useful.
65+
66+
##### Guide
3267
1. If you want to have TLS connections, please make sure you have a domain available and access to the name servers so you can modify the records to point to the IP addresses of the ingress.
3368

3469
`helm repo add jetstack https://charts.jetstack.io`
@@ -38,23 +73,38 @@ imagePullCredentials:
3873
2. Now edit the values.yaml of Diffgram’s helm chart and change the following keys:
3974
- **diffgramDomain:** set it to the domain you own.
4075
- **useCertManager:** set this to true. This will allow the certificate issue to be created so you can automatically get a TLS certificate for your domain with let’s encrypt.
41-
76+
- **tlsIssuer** set this to `letsencrypt-prod` so that TLS is validated by Let's Encrypt.
4277
3. Reinstall the helm chart
4378

4479

45-
`helm upgrade diffgram -f diffgram/new_updated_values_from_above_step.yaml`
80+
`helm upgrade -n diffgram-ns diffgram -f diffgram/new_updated_values_from_above_step.yaml`
4681

4782
4. After a few minutes you should be able to see the issuer and the certificate generated. You can confirm this by running:
4883
`kubectl describe issuer letsencrypt-prod`
4984

50-
# Installation
51-
`helm install diffgram ./diffgram`
85+
## B. Installation
86+
`git clone https://github.com/diffgram/diffgram-helm/`
87+
88+
` cd diffgram-helm && helm dependency build`
89+
90+
`helm install -n diffgram-ns diffgram . --create-namespace`
91+
92+
If you don't change anything on `values.yaml`. You will have the namespace `default` created on your cluster
93+
94+
Note: if on Minikube: run `echo "$(minikube ip) example.com" | sudo tee -a /etc/hosts`
95+
96+
To point minikube to domain example.com (or whatever domain you have set in the `diffgramDomain` inside `values.yaml`
97+
98+
### Values to Change in `values.yaml`
99+
Check section D. to see required values.
52100

53-
You can substitute `./diffgram` with whatever the path to this repo is on your local machine. Also feel free to install on any other namespace.
101+
102+
103+
You can substitute `./diffgram-helm` with whatever the path to this repo is on your local machine. Also feel free to install on any other namespace.
54104

55105
Future versions will provide a repo to download the chart without cloning from github.
56106

57-
# Main Structure
107+
## C. Main Structure
58108
When deploying this chart there are 5 main components to be aware of:
59109

60110
**1. default-service:** This is the service in charge for most of the API calls and data management. Both for the SDK and for the Frontend UI.
@@ -68,7 +118,7 @@ When deploying this chart there are 5 main components to be aware of:
68118
**5. ingress:** A Nginx ingress controller for accessing all the services. This is the entry point and router to all the above services.
69119

70120

71-
# Configurations:
121+
## D. Configurations:
72122
The following are some of the most important configurations of the values.yaml in the helm chart. Please feel free to contact us if you have any questions on any of the configurations.
73123
## 4.1 Database Settings
74124
**1. dbSettings.dbProvider:** Set this to “rds”, "azure", or "local" depending on your DB managed service.
@@ -84,6 +134,7 @@ The following are some of the most important configurations of the values.yaml i
84134
**6. dbSettings.dbPassword:** Set this to RDS instance’s password
85135

86136
## 4.2 Diffgram Configuration Settings
137+
**1. diffgramSecrets.DIFFGRAM_STATIC_STORAGE_PROVIDER:** Set this to “aws”, "azure", or "gcp" depending on your DB managed service. Default is `aws`
87138
**1. diffgramSecrets.DIFFGRAM_AWS_ACCESS_KEY_ID:** Set this to your AWS credentials access key. Make sure the account has permissions to the S3 bucket you’ll use as static storage.
88139

89140
**2. diffgramSecrets.DIFFGRAM_AWS_ACCESS_KEY_SECRET:** Set this to your AWS credentials secret. Make sure the account has permissions to the S3 bucket you’ll use as static storage.
@@ -92,5 +143,18 @@ The following are some of the most important configurations of the values.yaml i
92143

93144
**4. diffgramSettings.ML__DIFFGRAM_S3_BUCKET_NAME:** Set this to your S3’s bucket name for static file storage.
94145

146+
## E. Common Issues:
147+
148+
### 1. My Helm Chart gets stuck during install and the timesout with
149+
150+
Try doing `kubectl get pods` and find a pod named `diffgram-pre-install-{SOME-ID}`.
151+
152+
Now do `kubectl logs diffgram-pre-install-{SOME-ID} -c pre-upgrade-alembic-hook`
153+
154+
This will show the logs of the POD to further debug the issue. Most common causes for this error are:
155+
156+
- Missing Blob Storage Provider Credentials (Either AWS Access Keys, GCP Service Account or Azure Conn String)
95157

158+
### 2. `directory_id` header is not present on my SDK requests.
159+
Your ingress might not have the `allow-underscores-in-headers` config. Please enable it by looking at this config: https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#enable-underscores-in-headers
96160

templates/default/configmap.yaml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,4 @@ kind: ConfigMap
33
metadata:
44
name: diffgram-default-configmap
55
data:
6-
USERDOMAIN: {{ .Values.diffgramSettings.USERDOMAIN }}
7-
DIFFGRAM_SYSTEM_MODE: {{ .Values.diffgramSettings.DIFFGRAM_SYSTEM_MODE }}
8-
DIFFGRAM_STATIC_STORAGE_PROVIDER: {{ .Values.diffgramSettings.DIFFGRAM_STATIC_STORAGE_PROVIDER }}
9-
DIFFGRAM_S3_BUCKET_NAME: {{ .Values.diffgramSettings.DIFFGRAM_S3_BUCKET_NAME }}
10-
ML__DIFFGRAM_S3_BUCKET_NAME: {{ .Values.diffgramSettings.ML__DIFFGRAM_S3_BUCKET_NAME }}
11-
GOOGLE_APPLICATION_CREDENTIALS: /etc/gcp/sa_credentials.json # Check the volume in deployment.yaml and service_account_secret.yaml
12-
CLOUD_STORAGE_BUCKET: {{ .Values.diffgramSettings.CLOUD_STORAGE_BUCKET }}
13-
ML__CLOUD_STORAGE_BUCKET: {{ .Values.diffgramSettings.ML__CLOUD_STORAGE_BUCKET }}
14-
URL_BASE: {{ .Values.diffgramDomain }}
15-
WALRUS_SERVICE_URL_BASE: {{ .Values.diffgramSettings.WALRUS_SERVICE_URL_BASE }}
16-
SERVICE_ACCOUNT_FULL_PATH: {{ .Values.diffgramSettings.SERVICE_ACCOUNT_FULL_PATH }}
17-
DIFFGRAM_AZURE_CONTAINER_NAME: {{ .Values.diffgramSettings.DIFFGRAM_AZURE_CONTAINER_NAME }}
18-
ML__DIFFGRAM_AZURE_CONTAINER_NAME: {{ .Values.diffgramSettings.ML__DIFFGRAM_AZURE_CONTAINER_NAME }}
19-
DIFFGRAM_INSTALL_FINGERPRINT: {{ .Values.diffgramSettings.DIFFGRAM_INSTALL_FINGERPRINT }}
20-
DIFFGRAM_VERSION_TAG: {{ .Values.diffgramVersion }}
21-
DIFFGRAM_HOST_OS: {{ .Values.diffgramSettings.DIFFGRAM_HOST_OS }}
22-
DATABASE_CONNECTION_POOL_SIZE: {{ .Values.diffgramSettings.DATABASE_CONNECTION_POOL_SIZE }}
23-
PYTHONPATH: "/app:/app/shared:/"
24-
PROCESS_MEDIA_NUM_VIDEO_THREADS: {{ .Values.diffgramSettings.PROCESS_MEDIA_NUM_VIDEO_THREADS }}
25-
PROCESS_MEDIA_NUM_FRAME_THREADS: {{ .Values.diffgramSettings.PROCESS_MEDIA_NUM_FRAME_THREADS }}
6+
{{- template "diffgram.settings" . }}

templates/default/deployment.yaml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ spec:
1919
nodeSelector:
2020
poolName: {{ .Values.nodeGroupLabel }}
2121
{{ end }}
22-
{{ if eq .Values.diffgramEdition "enterprise"}}
23-
imagePullSecrets:
24-
- name: diffgramsecret
25-
{{ end }}
2622
volumes:
2723
{{ if eq .Values.diffgramSettings.DIFFGRAM_STATIC_STORAGE_PROVIDER "gcp"}}
2824
- name: service-account-credentials-volume
@@ -47,12 +43,7 @@ spec:
4743
command: ['sh', '-c', 'until pg_isready -h postgres-azure-service -p 5432; do echo waiting for database; sleep 2; done;']
4844
{{ end }}
4945
containers:
50-
{{ if eq .Values.diffgramEdition "enterprise"}}
51-
- image: gcr.io/diffgram-enterprise/default:{{ .Values.diffgramVersion }}
52-
{{ end }}
53-
{{ if eq .Values.diffgramEdition "opencore"}}
54-
- image: gcr.io/diffgram-open-core/default:{{ .Values.diffgramVersion }}
55-
{{ end }}
46+
- image: diffgram/default:{{ .Values.diffgramVersion }}
5647
imagePullPolicy: Always
5748
name: diffgram-default
5849
ports:

templates/default/secrets.yaml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,4 @@ metadata:
44
name: diffgram-default-secrets
55
type: Opaque
66
stringData:
7-
STRIPE_API_KEY: {{ .Values.diffgramSecrets.STRIPE_API_KEY }}
8-
DIFFGRAM_AWS_ACCESS_KEY_SECRET: {{ .Values.diffgramSecrets.DIFFGRAM_AWS_ACCESS_KEY_SECRET }}
9-
_ANALYTICS_WRITE_KEY: {{ .Values.diffgramSecrets._ANALYTICS_WRITE_KEY }}
10-
MAILGUN_KEY: {{ .Values.diffgramSecrets.MAILGUN_KEY }}
11-
HUB_SPOT_KEY: {{ .Values.diffgramSecrets.HUB_SPOT_KEY }}
12-
SECRET_KEY: {{ .Values.diffgramSecrets.SECRET_KEY }}
13-
INTER_SERVICE_SECRET: {{ .Values.diffgramSecrets.INTER_SERVICE_SECRET }}
14-
FERNET_KEY: {{ .Values.diffgramSecrets.FERNET_KEY }}
15-
{{ if eq .Values.dbSettings.dbProvider "local"}}
16-
DATABASE_URL: "postgresql+psycopg2://{{ .Values.dbSettings.dbUser }}:{{ .Values.dbSettings.dbPassword }}@diffgram-postgres/{{ .Values.dbSettings.dbName }}"
17-
{{ end }}
18-
{{ if eq .Values.dbSettings.dbProvider "rds"}}
19-
DATABASE_URL: "postgresql+psycopg2://{{ .Values.dbSettings.dbUser }}:{{ .Values.dbSettings.dbPassword }}@postgres-rds-service/{{ .Values.dbSettings.dbName }}"
20-
{{ end }}
21-
{{ if eq .Values.dbSettings.dbProvider "azure"}}
22-
DATABASE_URL: "postgresql+psycopg2://{{ .Values.dbSettings.dbUser }}:{{ .Values.dbSettings.dbPassword }}@postgres-azure-service/{{ .Values.dbSettings.dbName }}"
23-
{{ end }}
24-
USER_PASSWORDS_SECRET: {{ .Values.diffgramSecrets.USER_PASSWORDS_SECRET }}
25-
DIFFGRAM_AZURE_CONNECTION_STRING: {{ .Values.diffgramSecrets.DIFFGRAM_AZURE_CONNECTION_STRING }}
7+
{{- template "diffgram.secrets" . }}

templates/diffgram_settings.tpl

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{{- define "diffgram.settings" }}
2+
USERDOMAIN: {{ .Values.diffgramSettings.USERDOMAIN }}
3+
DIFFGRAM_SYSTEM_MODE: {{ .Values.diffgramSettings.DIFFGRAM_SYSTEM_MODE }}
4+
DIFFGRAM_STATIC_STORAGE_PROVIDER: {{ .Values.diffgramSettings.DIFFGRAM_STATIC_STORAGE_PROVIDER }}
5+
DIFFGRAM_S3_BUCKET_NAME: {{ .Values.diffgramSettings.DIFFGRAM_S3_BUCKET_NAME }}
6+
IS_DIFFGRAM_S3_V4_SIGNATURE: {{ .Values.diffgramSettings.IS_DIFFGRAM_S3_V4_SIGNATURE }}
7+
SIGNED_URL_CACHE_MINIMUM_SECONDS_VALID: {{ .Values.diffgramSettings.SIGNED_URL_CACHE_MINIMUM_SECONDS_VALID }}
8+
SIGNED_URL_CACHE_NEW_OFFSET_SECONDS_VALID: {{ .Values.diffgramSettings.SIGNED_URL_CACHE_NEW_OFFSET_SECONDS_VALID }}
9+
DIFFGRAM_S3_BUCKET_REGION: {{ .Values.diffgramSettings.DIFFGRAM_S3_BUCKET_REGION }}
10+
ML__DIFFGRAM_S3_BUCKET_NAME: {{ .Values.diffgramSettings.ML__DIFFGRAM_S3_BUCKET_NAME }}
11+
GOOGLE_APPLICATION_CREDENTIALS: /etc/gcp/sa_credentials.json # Check the volume in deployment.yaml and service_account_secret.yaml
12+
CLOUD_STORAGE_BUCKET: {{ .Values.diffgramSettings.CLOUD_STORAGE_BUCKET }}
13+
ML__CLOUD_STORAGE_BUCKET: {{ .Values.diffgramSettings.ML__CLOUD_STORAGE_BUCKET }}
14+
{{ if eq .Values.useTls true}}
15+
URL_BASE: https://{{ .Values.diffgramDomain }}
16+
{{ end }}
17+
{{ if eq .Values.useTls false}}
18+
URL_BASE: http://{{ .Values.diffgramDomain }}
19+
{{ end }}
20+
WALRUS_SERVICE_URL_BASE: https://{{ .Values.diffgramDomain }}
21+
SERVICE_ACCOUNT_FULL_PATH: {{ .Values.diffgramSettings.SERVICE_ACCOUNT_FULL_PATH }}
22+
DIFFGRAM_AZURE_CONTAINER_NAME: {{ .Values.diffgramSettings.DIFFGRAM_AZURE_CONTAINER_NAME }}
23+
ML__DIFFGRAM_AZURE_CONTAINER_NAME: {{ .Values.diffgramSettings.ML__DIFFGRAM_AZURE_CONTAINER_NAME }}
24+
DIFFGRAM_INSTALL_FINGERPRINT: {{ .Values.diffgramSettings.DIFFGRAM_INSTALL_FINGERPRINT }}
25+
DIFFGRAM_VERSION_TAG: {{ .Values.diffgramVersion }}
26+
DIFFGRAM_HOST_OS: {{ .Values.diffgramSettings.DIFFGRAM_HOST_OS }}
27+
DATABASE_CONNECTION_POOL_SIZE: {{ .Values.diffgramSettings.DATABASE_CONNECTION_POOL_SIZE }}
28+
PYTHONPATH: "/app:/app/shared:/"
29+
PROCESS_MEDIA_NUM_VIDEO_THREADS: {{ .Values.diffgramSettings.PROCESS_MEDIA_NUM_VIDEO_THREADS }}
30+
PROCESS_MEDIA_NUM_FRAME_THREADS: {{ .Values.diffgramSettings.PROCESS_MEDIA_NUM_FRAME_THREADS }}
31+
NEW_RELIC_LICENSE_KEY: {{ .Values.diffgramSettings.NEW_RELIC_LICENSE_KEY }}
32+
EMAIL_DOMAIN_NAME: {{ .Values.diffgramSettings.EMAIL_DOMAIN_NAME }}
33+
ALLOW_EVENTHUB: {{ .Values.diffgramSettings.ALLOW_EVENTHUB }}
34+
EMAIL_VALIDATION: {{ .Values.diffgramSettings.EMAIL_VALIDATION }}
35+
ALLOW_STRIPE_BILLING: {{ .Values.diffgramSettings.ALLOW_STRIPE_BILLING }}
36+
IS_OPEN_SOURCE: {{ .Values.diffgramSettings.IS_OPEN_SOURCE }}
37+
DIFFGRAM_MINIO_ENDPOINT_URL: {{.Values.diffgramSettings.DIFFGRAM_MINIO_ENDPOINT_URL}}
38+
DIFFGRAM_MINIO_ACCESS_KEY_ID: {{.Values.diffgramSettings.DIFFGRAM_MINIO_ACCESS_KEY_ID}}
39+
DIFFGRAM_MINIO_ACCESS_KEY_SECRET: {{.Values.diffgramSettings.DIFFGRAM_MINIO_ACCESS_KEY_SECRET}}
40+
DIFFGRAM_MINIO_DISABLED_SSL_VERIFY: {{.Values.diffgramSettings.DIFFGRAM_MINIO_DISABLED_SSL_VERIFY}}
41+
RABBITMQ_HOST: {{.Values.diffgramSettings.RABBITMQ_HOST}}
42+
RABBITMQ_PORT: {{.Values.diffgramSettings.RABBITMQ_PORT}}
43+
RABBITMQ_USE_SSL: {{.Values.diffgramSettings.RABBITMQ_USE_SSL}}
44+
RABBITMQ_DEFAULT_USER: {{.Values.rabbitmq.auth.username}}
45+
USE_OAUTH2: {{.Values.diffgramSettings.USE_OAUTH2}}
46+
OAUTH2_PROVIDER_NAME: {{.Values.diffgramSettings.OAUTH2_PROVIDER_NAME}}
47+
OAUTH2_PROVIDER_HOST: {{.Values.diffgramSettings.OAUTH2_PROVIDER_HOST}}
48+
OAUTH2_PROVIDER_CLIENT_ID: {{.Values.diffgramSettings.OAUTH2_PROVIDER_CLIENT_ID}}
49+
OAUTH2_PROVIDER_PUBLIC_KEY: {{.Values.diffgramSettings.OAUTH2_PROVIDER_PUBLIC_KEY}}
50+
DISABLE_SELF_REGISTRATION: {{.Values.diffgramSettings.DISABLE_SELF_REGISTRATION}}
51+
COGNITO_LOGIN_URL: {{.Values.diffgramSettings.COGNITO_LOGIN_URL}}
52+
KEY_CLOAK_MASTER_USER: {{.Values.diffgramSettings.KEY_CLOAK_MASTER_USER}}
53+
KEY_CLOAK_DIFFGRAM_USER: {{.Values.diffgramSettings.KEY_CLOAK_DIFFGRAM_USER}}
54+
KEYCLOAK_REALM: {{.Values.diffgramSettings.KEYCLOAK_REALM}}
55+
KEYCLOAK_REALM: {{.Values.diffgramSettings.KEYCLOAK_REALM}}
56+
SMTP_HOST: {{.Values.diffgramSettings.SMTP_HOST}}
57+
SMTP_PORT: {{.Values.diffgramSettings.SMTP_PORT}}
58+
SMTP_USERNAME: {{.Values.diffgramSettings.SMTP_USERNAME}}
59+
SMTP_FROM_EMAIL: {{.Values.diffgramSettings.SMTP_FROM_EMAIL}}
60+
{{- end }}

0 commit comments

Comments
 (0)