File tree Expand file tree Collapse file tree 7 files changed +31
-4
lines changed Expand file tree Collapse file tree 7 files changed +31
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ type: application
16
16
# This is the chart version. This version number should be incremented each time you make changes
17
17
# to the chart and its templates, including the app version.
18
18
# Versions are expected to follow Semantic Versioning (https://semver.org/)
19
- version : 0.2 .0
19
+ version : 0.3 .0
20
20
21
21
# This is the version number of the application being deployed. This version number should be
22
22
# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change 9
9
| ` external ` | Enable external access from outside the cluster | ` false ` |
10
10
| ` replicas ` | Persistent Volume size for NATS | ` 2 ` |
11
11
| ` storageClass ` | StorageClass used to store the data | ` "" ` |
12
-
12
+ | ` username ` | Nats username, if empty no auth | ` "" ` |
13
+ | ` password ` | Nats password, if empty no auth | ` "" ` |
Original file line number Diff line number Diff line change 18
18
nats :
19
19
fullnameOverride : {{ .Release.Name }}
20
20
config :
21
+ {{- if and .Values.username .Values.password }}
22
+ merge :
23
+ accounts :
24
+ A :
25
+ users :
26
+ - {user: "{{ .Values.username }}", password: "{{ .Values.password }}"}
27
+ {{- end }}
21
28
cluster :
22
29
enabled : true
23
30
replicas : {{ .Values.replicas }}
Original file line number Diff line number Diff line change 16
16
"type" : " string" ,
17
17
"description" : " StorageClass used to store the data" ,
18
18
"default" : " "
19
+ },
20
+ "username" : {
21
+ "type" : " string" ,
22
+ "description" : " Nats username, if empty no auth" ,
23
+ "default" : " "
24
+ },
25
+ "password" : {
26
+ "type" : " string" ,
27
+ "description" : " Nats password, if empty no auth" ,
28
+ "default" : " "
19
29
}
20
30
}
21
- }
31
+ }
Original file line number Diff line number Diff line change 4
4
# # @param external Enable external access from outside the cluster
5
5
# # @param replicas Persistent Volume size for NATS
6
6
# # @param storageClass StorageClass used to store the data
7
+ # # @param nats username, if empty no auth
8
+ # # @param nats password, if empty no auth
7
9
# #
8
10
external : false
9
11
replicas : 2
10
12
storageClass : " "
13
+ username :
14
+ password :
Original file line number Diff line number Diff line change @@ -48,7 +48,8 @@ mysql 0.5.0 4b84798
48
48
mysql 0.5.1 fab5940b
49
49
mysql 0.5.2 HEAD
50
50
nats 0.1.0 5ca8823
51
- nats 0.2.0 HEAD
51
+ nats 0.2.0 c07c4bbd
52
+ nats 0.3.0 HEAD
52
53
postgres 0.1.0 f642698
53
54
postgres 0.2.0 7cd7de73
54
55
postgres 0.2.1 4a97e297
Original file line number Diff line number Diff line change 5
5
persistentVolumeClaimRetentionPolicy :
6
6
whenDeleted : Delete
7
7
whenScaled : Delete
8
+ config :
9
+ cluster :
10
+ routeURLs :
11
+ k8sClusterDomain : cozy.local
You can’t perform that action at this time.
0 commit comments