nats chart provisoning
This commit is contained in:
		@@ -0,0 +1,10 @@
 | 
			
		||||
{{- include "nats.defaultValues" . }}
 | 
			
		||||
{{- if .hasContentsSecret }}
 | 
			
		||||
{{- with .Values.natsBox }}
 | 
			
		||||
{{- if .enabled }}
 | 
			
		||||
{{- with .contentsSecret}}
 | 
			
		||||
{{- include "nats.loadMergePatch" (merge (dict "file" "nats-box/contents-secret.yaml" "ctx" $) .) }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
@@ -0,0 +1,8 @@
 | 
			
		||||
{{- include "nats.defaultValues" . }}
 | 
			
		||||
{{- with .Values.natsBox }}
 | 
			
		||||
{{- if .enabled }}
 | 
			
		||||
{{- with .contextsSecret}}
 | 
			
		||||
{{- include "nats.loadMergePatch" (merge (dict "file" "nats-box/contexts-secret/contexts-secret.yaml" "ctx" $) .) }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
							
								
								
									
										8
									
								
								opencloud/charts/nats/templates/nats-box/deployment.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								opencloud/charts/nats/templates/nats-box/deployment.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
{{- include "nats.defaultValues" . }}
 | 
			
		||||
{{- with .Values.natsBox }}
 | 
			
		||||
{{- if .enabled }}
 | 
			
		||||
{{- with .deployment }}
 | 
			
		||||
{{- include "nats.loadMergePatch" (merge (dict "file" "nats-box/deployment/deployment.yaml" "ctx" $) .) }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
@@ -0,0 +1,8 @@
 | 
			
		||||
{{- include "nats.defaultValues" . }}
 | 
			
		||||
{{- if .Values.natsBox.enabled }}
 | 
			
		||||
{{- with .Values.natsBox.serviceAccount }}
 | 
			
		||||
{{- if .enabled }}
 | 
			
		||||
{{- include "nats.loadMergePatch" (merge (dict "file" "nats-box/service-account.yaml" "ctx" $) .) }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
{{- end }}
 | 
			
		||||
		Reference in New Issue
	
	Block a user