This repository was archived by the owner on Nov 5, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
deployment/chart/of-federation Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 19
19
spec :
20
20
serviceAccountName : {{ .Release.Name }}-controller
21
21
volumes :
22
+ {{- if .Values.basic_auth }}
23
+ - name : auth
24
+ secret :
25
+ secretName : basic-auth
26
+ {{- end }}
22
27
- name : lambda-aws-access
23
28
secret :
24
29
secretName : lambda-aws-access
41
46
value : " {{ .Values.faaslambda.httpProbe }}"
42
47
- name : secret_mount_path
43
48
value : " /var/secrets"
49
+ {{- if .Values.basic_auth }}
50
+ - name : basic_auth
51
+ value : " {{ .Values.basic_auth }}"
52
+ {{- end }}
44
53
- name : readiness_probe_initial_delay_seconds
45
54
value : " {{ .Values.faaslambda.readinessProbe.initialDelaySeconds }}"
46
55
- name : readiness_probe_timeout_seconds
55
64
value : " {{ .Values.faaslambda.livenessProbe.periodSeconds }}"
56
65
- name : lambda_execution_role
57
66
value : " {{ .Values.faaslambda.lambda_execution_role }}"
67
+ - name : licence_jwt
68
+ value : " {{ .Values.faaslambda.licence_jwt }}"
69
+ - name : licence_email
70
+ value : " {{ .Values.faaslambda.licence_email }}"
58
71
- name : AWS_REGION
59
72
value : " {{ .Values.faaslambda.aws_region }}"
60
73
- name : AWS_ACCESS_KEY_ID
67
80
secretKeyRef :
68
81
name : lambda-aws-access
69
82
key : AWS_SECRET_ACCESS_KEY
83
+ {{- if .Values.basic_auth }}
84
+ volumeMounts :
85
+ - name : auth
86
+ readOnly : true
87
+ mountPath : " /var/secrets"
88
+ {{- end }}
70
89
ports :
71
90
- containerPort : 8080
72
91
protocol : TCP
Original file line number Diff line number Diff line change @@ -59,6 +59,8 @@ faaslambda:
59
59
timeoutSeconds : 1
60
60
periodSeconds : 10
61
61
lambda_execution_role : " "
62
+ licence_jwt : " "
63
+ licence_email : " "
62
64
aws_region : " eu-west-1"
63
65
64
66
gateway :
You can’t perform that action at this time.
0 commit comments