Add support for extra objects
This commit is contained in:
		
							parent
							
								
									68c4b49636
								
							
						
					
					
						commit
						c59a5df23e
					
				|  | @ -0,0 +1,8 @@ | ||||||
|  | {{ range .Values.extraObjects }} | ||||||
|  | --- | ||||||
|  | {{ if typeIs "string" . }} | ||||||
|  |     {{- tpl . $ }} | ||||||
|  | {{- else }} | ||||||
|  |     {{- tpl (toYaml .) $ }} | ||||||
|  | {{- end }} | ||||||
|  | {{ end }} | ||||||
|  | @ -544,3 +544,17 @@ controllerID: | ||||||
|   # The name of the controller ID to use. |   # The name of the controller ID to use. | ||||||
|   # If not set and create is true, a name is generated using the fullname template |   # If not set and create is true, a name is generated using the fullname template | ||||||
|   name: |   name: | ||||||
|  | 
 | ||||||
|  | # -- Array of extra K8s manifests to deploy | ||||||
|  | ## Note: Supports use of custom Helm templates | ||||||
|  | extraObjects: [] | ||||||
|  |   # - apiVersion: acid.zalan.do/v1 | ||||||
|  |   #   kind: postgresql | ||||||
|  |   #   metadata: | ||||||
|  |   #     name: my-db-cluster | ||||||
|  |   #     namespace: default | ||||||
|  |   #   spec: | ||||||
|  |   #     teamId: my-team | ||||||
|  |   #     numberOfInstances: 3 | ||||||
|  |   #     preparedDatabases: | ||||||
|  |   #       myfirstdb: {} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue