Power up (#8684)
This commit is contained in:
		
							parent
							
								
									d62a55b46f
								
							
						
					
					
						commit
						a8e779a68c
					
				
					 8 changed files with 26 additions and 16 deletions
				
			
		|  | @ -6,7 +6,7 @@ | |||
| #───┘ URL └───────────────────────────────────────────────────── | ||||
| 
 | ||||
| # Final accessible URL seen by a user. | ||||
| url: https://example.tld/ | ||||
| # url: https://example.tld/ | ||||
| 
 | ||||
| # ONCE YOU HAVE STARTED THE INSTANCE, DO NOT CHANGE THE | ||||
| # URL SETTINGS AFTER THAT! | ||||
|  | @ -41,7 +41,7 @@ url: https://example.tld/ | |||
| #   You need to set Certificate in 'https' section. | ||||
| 
 | ||||
| # To use option 1, uncomment below line. | ||||
| port: 3000    # A port that your Misskey server should listen. | ||||
| port: 3000 # A port that your Misskey server should listen. | ||||
| 
 | ||||
| # To use option 2, uncomment below lines. | ||||
| #port: 443 | ||||
|  | @ -89,8 +89,8 @@ redis: | |||
| #  host: localhost | ||||
| #  port: 9200 | ||||
| #  ssl: false | ||||
| #  user:  | ||||
| #  pass:  | ||||
| #  user: | ||||
| #  pass: | ||||
| 
 | ||||
| #   ┌───────────────┐ | ||||
| #───┘ ID generation └─────────────────────────────────────────── | ||||
|  | @ -108,8 +108,7 @@ redis: | |||
| # ONCE YOU HAVE STARTED THE INSTANCE, DO NOT CHANGE THE | ||||
| # ID SETTINGS AFTER THAT! | ||||
| 
 | ||||
| id: 'aid' | ||||
| 
 | ||||
| id: "aid" | ||||
| #   ┌─────────────────────┐ | ||||
| #───┘ Other configuration └───────────────────────────────────── | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,7 +1,8 @@ | |||
| apiVersion: v1 | ||||
| kind: ConfigMap | ||||
| metadata: | ||||
|   name: {{ include "misskey.fullname" . }}-config-file | ||||
|   name: {{ include "misskey.fullname" . }}-configuration | ||||
| data: | ||||
|   default.yml: |- | ||||
| {{ .Files.Get "files/default.yml"|indent 4 }} | ||||
|     {{ .Files.Get "files/default.yml"|nindent 4 }} | ||||
|     url: {{ .Values.url }} | ||||
|  |  | |||
|  | @ -16,9 +16,12 @@ spec: | |||
|     spec: | ||||
|       containers: | ||||
|         - name: misskey | ||||
|           image: okteto.dev/misskey:latest | ||||
|           image: {{ .Values.image }} | ||||
|           env: | ||||
|             - name: NODE_ENV | ||||
|               value: {{ .Values.environment }} | ||||
|           volumeMounts: | ||||
|             - name: config-file | ||||
|             - name: {{ include "misskey.fullname" . }}-configuration | ||||
|               mountPath: /misskey/.config | ||||
|               readOnly: true | ||||
|           ports: | ||||
|  | @ -39,6 +42,6 @@ spec: | |||
|           ports: | ||||
|             - containerPort: 6379 | ||||
|       volumes: | ||||
|         - name: config-file | ||||
|         - name: {{ include "misskey.fullname" . }}-configuration | ||||
|           configMap: | ||||
|             name: {{ include "misskey.fullname" . }}-config-file | ||||
|             name: {{ include "misskey.fullname" . }}-configuration | ||||
|  |  | |||
							
								
								
									
										3
									
								
								chart/values.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								chart/values.yml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,3 @@ | |||
| url: https://example.tld/ | ||||
| image: okteto.dev/misskey | ||||
| environment: production | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue