Chart: Include value for annotations in controller (deployment)
This commit is contained in:
		
							parent
							
								
									47dfed3ced
								
							
						
					
					
						commit
						28be5ea9bc
					
				|  | @ -53,10 +53,11 @@ All additional docs are kept in the `docs/` folder, this README is solely for do | ||||||
| | `metrics.proxy.image.tag`                                 | The tag of the kube-proxy image to use when pulling the container                                                                         | v0.13.1                                                                                         | | | `metrics.proxy.image.tag`                                 | The tag of the kube-proxy image to use when pulling the container                                                                         | v0.13.1                                                                                         | | ||||||
| | `metrics.serviceMonitorLabels`                            | Set labels to apply to ServiceMonitor resources                                                                                           |                                                                                                 | | | `metrics.serviceMonitorLabels`                            | Set labels to apply to ServiceMonitor resources                                                                                           |                                                                                                 | | ||||||
| | `imagePullSecrets`                                        | Specifies the secret to be used when pulling the controller pod containers                                                                |                                                                                                 | | | `imagePullSecrets`                                        | Specifies the secret to be used when pulling the controller pod containers                                                                |                                                                                                 | | ||||||
| | `fullnameOverride`                                        | Override the full resource names	                                                                                                        |                                                                                                 | | | `fullnameOverride`                                        | Override the full resource names                                                                                                          |                                                                                                 | | ||||||
| | `nameOverride`                                            | Override the resource name prefix	                                                                                                        |                                                                                                 | | | `nameOverride`                                            | Override the resource name prefix                                                                                                         |                                                                                                 | | ||||||
| | `serviceAccount.annotations`                              | Set annotations to the service account                                                                                                    |                                                                                                 | | | `serviceAccount.annotations`                              | Set annotations to the service account                                                                                                    |                                                                                                 | | ||||||
| | `serviceAccount.create`                                   | Deploy the controller pod under a service account                                                                                         | true                                                                                            | | | `serviceAccount.create`                                   | Deploy the controller pod under a service account                                                                                         | true                                                                                            | | ||||||
|  | | `annotations`                                             | Set annotations for the controller deployment                                                                                             |                                                                                                 | | ||||||
| | `podAnnotations`                                          | Set annotations for the controller pod                                                                                                    |                                                                                                 | | | `podAnnotations`                                          | Set annotations for the controller pod                                                                                                    |                                                                                                 | | ||||||
| | `podLabels`                                               | Set labels for the controller pod                                                                                                         |                                                                                                 | | | `podLabels`                                               | Set labels for the controller pod                                                                                                         |                                                                                                 | | ||||||
| | `serviceAccount.name`                                     | Set the name of the service account                                                                                                       |                                                                                                 | | | `serviceAccount.name`                                     | Set the name of the service account                                                                                                       |                                                                                                 | | ||||||
|  | @ -69,7 +70,7 @@ All additional docs are kept in the `docs/` folder, this README is solely for do | ||||||
| | `nodeSelector`                                            | Set the controller pod nodeSelector                                                                                                       |                                                                                                 | | | `nodeSelector`                                            | Set the controller pod nodeSelector                                                                                                       |                                                                                                 | | ||||||
| | `resources`                                               | Set the controller pod resources                                                                                                          |                                                                                                 | | | `resources`                                               | Set the controller pod resources                                                                                                          |                                                                                                 | | ||||||
| | `affinity`                                                | Set the controller pod affinity rules                                                                                                     |                                                                                                 | | | `affinity`                                                | Set the controller pod affinity rules                                                                                                     |                                                                                                 | | ||||||
| | `podDisruptionBudget.enabled`                             | Enables a PDB to ensure HA of controller pods                                                                                             | false                                                                                      | | | `podDisruptionBudget.enabled`                             | Enables a PDB to ensure HA of controller pods                                                                                             | false                                                                                           | | ||||||
| | `podDisruptionBudget.minAvailable`                        | Minimum number of pods that must be available after eviction                                                                              |                                                                                                 | | | `podDisruptionBudget.minAvailable`                        | Minimum number of pods that must be available after eviction                                                                              |                                                                                                 | | ||||||
| | `podDisruptionBudget.maxUnavailable`                      | Maximum number of pods that can be unavailable after eviction. Kubernetes 1.7+ required.                                                  |                                                                                                 | | | `podDisruptionBudget.maxUnavailable`                      | Maximum number of pods that can be unavailable after eviction. Kubernetes 1.7+ required.                                                  |                                                                                                 | | ||||||
| | `tolerations`                                             | Set the controller pod tolerations                                                                                                        |                                                                                                 | | | `tolerations`                                             | Set the controller pod tolerations                                                                                                        |                                                                                                 | | ||||||
|  | @ -91,8 +92,8 @@ All additional docs are kept in the `docs/` folder, this README is solely for do | ||||||
| | `githubWebhookServer.secret.name`                         | Set the name of the webhook hook secret                                                                                                   | github-webhook-server                                                                           | | | `githubWebhookServer.secret.name`                         | Set the name of the webhook hook secret                                                                                                   | github-webhook-server                                                                           | | ||||||
| | `githubWebhookServer.secret.github_webhook_secret_token`  | Set the webhook secret token value                                                                                                        |                                                                                                 | | | `githubWebhookServer.secret.github_webhook_secret_token`  | Set the webhook secret token value                                                                                                        |                                                                                                 | | ||||||
| | `githubWebhookServer.imagePullSecrets`                    | Specifies the secret to be used when pulling the githubWebhookServer pod containers                                                       |                                                                                                 | | | `githubWebhookServer.imagePullSecrets`                    | Specifies the secret to be used when pulling the githubWebhookServer pod containers                                                       |                                                                                                 | | ||||||
| | `githubWebhookServer.nameOverride`                        | Override the resource name prefix	                                                                                                        |                                                                                                 | | | `githubWebhookServer.nameOverride`                        | Override the resource name prefix                                                                                                         |                                                                                                 | | ||||||
| | `githubWebhookServer.fullnameOverride`                    | Override the full resource names	                                                                                                        |                                                                                                 | | | `githubWebhookServer.fullnameOverride`                    | Override the full resource names                                                                                                          |                                                                                                 | | ||||||
| | `githubWebhookServer.serviceAccount.create`               | Deploy the githubWebhookServer under a service account                                                                                    | true                                                                                            | | | `githubWebhookServer.serviceAccount.create`               | Deploy the githubWebhookServer under a service account                                                                                    | true                                                                                            | | ||||||
| | `githubWebhookServer.serviceAccount.annotations`          | Set annotations for the service account                                                                                                   |                                                                                                 | | | `githubWebhookServer.serviceAccount.annotations`          | Set annotations for the service account                                                                                                   |                                                                                                 | | ||||||
| | `githubWebhookServer.serviceAccount.name`                 | Set the service account name                                                                                                              |                                                                                                 | | | `githubWebhookServer.serviceAccount.name`                 | Set the service account name                                                                                                              |                                                                                                 | | ||||||
|  | @ -127,8 +128,8 @@ All additional docs are kept in the `docs/` folder, this README is solely for do | ||||||
| | `actionsMetricsServer.secret.name`                        | Set the name of the webhook hook secret                                                                                                   | actions-metrics-server                                                                          | | | `actionsMetricsServer.secret.name`                        | Set the name of the webhook hook secret                                                                                                   | actions-metrics-server                                                                          | | ||||||
| | `actionsMetricsServer.secret.github_webhook_secret_token` | Set the webhook secret token value                                                                                                        |                                                                                                 | | | `actionsMetricsServer.secret.github_webhook_secret_token` | Set the webhook secret token value                                                                                                        |                                                                                                 | | ||||||
| | `actionsMetricsServer.imagePullSecrets`                   | Specifies the secret to be used when pulling the actionsMetricsServer pod containers                                                      |                                                                                                 | | | `actionsMetricsServer.imagePullSecrets`                   | Specifies the secret to be used when pulling the actionsMetricsServer pod containers                                                      |                                                                                                 | | ||||||
| | `actionsMetricsServer.nameOverride`                       | Override the resource name prefix	                                                                                                        |                                                                                                 | | | `actionsMetricsServer.nameOverride`                       | Override the resource name prefix                                                                                                         |                                                                                                 | | ||||||
| | `actionsMetricsServer.fullnameOverride`                   | Override the full resource names	                                                                                                        |                                                                                                 | | | `actionsMetricsServer.fullnameOverride`                   | Override the full resource names                                                                                                          |                                                                                                 | | ||||||
| | `actionsMetricsServer.serviceAccount.create`              | Deploy the actionsMetricsServer under a service account                                                                                   | true                                                                                            | | | `actionsMetricsServer.serviceAccount.create`              | Deploy the actionsMetricsServer under a service account                                                                                   | true                                                                                            | | ||||||
| | `actionsMetricsServer.serviceAccount.annotations`         | Set annotations for the service account                                                                                                   |                                                                                                 | | | `actionsMetricsServer.serviceAccount.annotations`         | Set annotations for the service account                                                                                                   |                                                                                                 | | ||||||
| | `actionsMetricsServer.serviceAccount.name`                | Set the service account name                                                                                                              |                                                                                                 | | | `actionsMetricsServer.serviceAccount.name`                | Set the service account name                                                                                                              |                                                                                                 | | ||||||
|  |  | ||||||
|  | @ -3,6 +3,10 @@ kind: Deployment | ||||||
| metadata: | metadata: | ||||||
|   name: {{ include "actions-runner-controller.fullname" . }} |   name: {{ include "actions-runner-controller.fullname" . }} | ||||||
|   namespace: {{ .Release.Namespace }} |   namespace: {{ .Release.Namespace }} | ||||||
|  |   {{- with .Values.annotations }} | ||||||
|  |   annotations: | ||||||
|  |     {{- toYaml . | nindent 4 }} | ||||||
|  |   {{- end }} | ||||||
|   labels: |   labels: | ||||||
|     {{- include "actions-runner-controller.labels" . | nindent 4 }} |     {{- include "actions-runner-controller.labels" . | nindent 4 }} | ||||||
| spec: | spec: | ||||||
|  |  | ||||||
|  | @ -83,6 +83,7 @@ serviceAccount: | ||||||
|   # 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: "" | ||||||
| 
 | 
 | ||||||
|  | annotations: {} | ||||||
| podAnnotations: {} | podAnnotations: {} | ||||||
| 
 | 
 | ||||||
| podLabels: {} | podLabels: {} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue