mirror of https://github.com/h44z/wg-portal.git
				
				
				
			This commit is contained in:
		
							parent
							
								
									66ccdc29e9
								
							
						
					
					
						commit
						10332c7f9a
					
				|  | @ -16,7 +16,7 @@ annotations: | |||
| # This is the chart version. This version number should be incremented each time you make changes | ||||
| # to the chart and its templates, including the app version. | ||||
| # Versions are expected to follow Semantic Versioning (https://semver.org/) | ||||
| version: 0.7.0 | ||||
| version: 0.7.1 | ||||
| 
 | ||||
| # This is the version number of the application being deployed. This version number should be | ||||
| # incremented each time you make changes to the application. Versions are not expected to | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| # wg-portal | ||||
| 
 | ||||
|    | ||||
|    | ||||
| 
 | ||||
| WireGuard Configuration Portal with LDAP, OAuth, OIDC authentication | ||||
| 
 | ||||
|  | @ -28,7 +28,7 @@ The [Values](#values) section lists the parameters that can be configured during | |||
| ## Values | ||||
| 
 | ||||
| | Key | Type | Default | Description | | ||||
| |----------------------------------|------------|--------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||||
| |-----|------|---------|-------------| | ||||
| | nameOverride | string | `""` | Partially override resource names (adds suffix) | | ||||
| | fullnameOverride | string | `""` | Fully override resource names | | ||||
| | extraDeploy | list | `[]` | Array of extra objects to deploy with the release | | ||||
|  | @ -102,6 +102,7 @@ The [Values](#values) section lists the parameters that can be configured during | |||
| | persistence.storageClass | string | `""` | Persistent Volume storage class. If undefined (the default) cluster's default provisioner will be used. | | ||||
| | persistence.accessMode | string | `"ReadWriteOnce"` | Persistent Volume Access Mode | | ||||
| | persistence.size | string | `"1Gi"` | Persistent Volume size | | ||||
| | persistence.volumeName | string | `""` | Persistent Volume Name (optional) | | ||||
| | serviceAccount.create | bool | `true` | Specifies whether a service account should be created | | ||||
| | serviceAccount.annotations | object | `{}` | Service account annotations | | ||||
| | serviceAccount.automount | bool | `false` | Automatically mount a ServiceAccount's API credentials | | ||||
|  |  | |||
|  | @ -89,13 +89,17 @@ admin_user: "" | |||
| Define PersistentVolumeClaim spec | ||||
| */}} | ||||
| {{- define "wg-portal.pvc" -}} | ||||
| accessModes: [{{ .Values.persistence.accessMode }}] | ||||
| {{- with .Values.persistence.storageClass }} | ||||
| storageClassName: {{ . }} | ||||
| {{- end }} | ||||
| accessModes: | ||||
|   - {{ .Values.persistence.accessMode }} | ||||
| resources: | ||||
|   requests: | ||||
|     storage: {{ .Values.persistence.size | quote }} | ||||
| {{- with .Values.persistence.storageClass }} | ||||
| storageClassName: {{ . }} | ||||
| {{- end }} | ||||
| {{- with .Values.persistence.volumeName }} | ||||
| volumeName: {{ . }} | ||||
| {{- end }} | ||||
| {{- end -}} | ||||
| 
 | ||||
| {{/* | ||||
|  |  | |||
|  | @ -195,6 +195,8 @@ persistence: | |||
|   accessMode: ReadWriteOnce | ||||
|   # -- Persistent Volume size | ||||
|   size: 1Gi | ||||
|   # -- Persistent Volume Name (optional) | ||||
|   volumeName: "" | ||||
| 
 | ||||
| serviceAccount: | ||||
|   # -- Specifies whether a service account should be created | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue