From 418ac77b37c7db365923d78359f2add8a20759d2 Mon Sep 17 00:00:00 2001 From: Jenn Sutherland Date: Tue, 16 May 2023 13:40:22 -0600 Subject: [PATCH 1/2] adding priority class --- chart/tugger/Chart.yaml | 2 +- chart/tugger/README.md | 69 ++++++++++++++++++++++++++ chart/tugger/templates/deployment.yaml | 3 ++ chart/tugger/values.yaml | 2 + 4 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 chart/tugger/README.md diff --git a/chart/tugger/Chart.yaml b/chart/tugger/Chart.yaml index b85f751..16e8981 100644 --- a/chart/tugger/Chart.yaml +++ b/chart/tugger/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "0.1.8" description: A Helm chart for Tugger name: tugger -version: 0.4.4 +version: 0.4.5 keywords: - DevOps - helm diff --git a/chart/tugger/README.md b/chart/tugger/README.md new file mode 100644 index 0000000..65546e2 --- /dev/null +++ b/chart/tugger/README.md @@ -0,0 +1,69 @@ +# tugger + +![Version: 0.4.5](https://img.shields.io/badge/Version-0.4.5-informational?style=flat-square) ![AppVersion: 0.1.8](https://img.shields.io/badge/AppVersion-0.1.8-informational?style=flat-square) + +A Helm chart for Tugger + +**Homepage:** + +## Maintainers + +| Name | Email | Url | +| ---- | ------ | --- | +| jainishshah17 | | | + +## Source Code + +* + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| affinity | object | `{}` | | +| createMutatingWebhook | bool | `false` | | +| createValidatingWebhook | bool | `false` | | +| docker.ifExists | bool | `false` | | +| docker.registrySecret | string | `"regsecret"` | | +| docker.registryUrl | string | `"jainishshah17"` | | +| image.pullPolicy | string | `"IfNotPresent"` | | +| image.pullSecret | string | `nil` | | +| image.repository | string | `"jainishshah17/tugger"` | | +| image.tag | string | `nil` | | +| livenessProbe.failureThreshold | int | `12` | | +| livenessProbe.httpGet.path | string | `"/ping"` | | +| livenessProbe.httpGet.port | string | `"https"` | | +| livenessProbe.httpGet.scheme | string | `"HTTPS"` | | +| livenessProbe.initialDelaySeconds | int | `5` | | +| livenessProbe.periodSeconds | int | `10` | | +| livenessProbe.successThreshold | int | `1` | | +| livenessProbe.timeoutSeconds | int | `3` | | +| namespaceSelector | string | `nil` | | +| nodeSelector | object | `{}` | | +| priorityClassName | string | `""` | | +| rbac.create | bool | `true` | | +| readinessProbe.failureThreshold | int | `1` | | +| readinessProbe.httpGet.path | string | `"/ping"` | | +| readinessProbe.httpGet.port | string | `"https"` | | +| readinessProbe.httpGet.scheme | string | `"HTTPS"` | | +| readinessProbe.initialDelaySeconds | int | `5` | | +| readinessProbe.periodSeconds | int | `10` | | +| readinessProbe.successThreshold | int | `1` | | +| readinessProbe.timeoutSeconds | int | `3` | | +| replicaCount | int | `1` | | +| resources | object | `{}` | | +| rules | list | `[]` | | +| service.port | int | `443` | | +| service.type | string | `"ClusterIP"` | | +| serviceAccount.create | bool | `true` | | +| serviceAccount.name | string | `nil` | | +| slackDedupeTTL | string | `nil` | | +| tls.caCert | string | `nil` | | +| tls.secretName | string | `nil` | | +| tolerations | list | `[]` | | +| webhookUrl | string | `nil` | | +| whitelistNamespaces[0] | string | `"kube-system"` | | +| whitelistRegistries | list | `[]` | | + +---------------------------------------------- +Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0) diff --git a/chart/tugger/templates/deployment.yaml b/chart/tugger/templates/deployment.yaml index c37a356..4a62549 100644 --- a/chart/tugger/templates/deployment.yaml +++ b/chart/tugger/templates/deployment.yaml @@ -26,6 +26,9 @@ spec: imagePullSecrets: - name: {{ . }} {{- end }} + {{- with .Values.priorityClassName }} + priorityClassName: {{ . }} + {{- end }} containers: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}" diff --git a/chart/tugger/values.yaml b/chart/tugger/values.yaml index 10a9b7d..bcec0a0 100644 --- a/chart/tugger/values.yaml +++ b/chart/tugger/values.yaml @@ -23,6 +23,8 @@ image: pullPolicy: IfNotPresent pullSecret: +priorityClassName: "" + service: type: ClusterIP port: 443 From 4f4be466142f31de50276290dea086892438e03b Mon Sep 17 00:00:00 2001 From: Jenn Sutherland Date: Tue, 16 May 2023 14:08:13 -0600 Subject: [PATCH 2/2] remove per review --- chart/tugger/README.md | 69 ------------------------------------------ 1 file changed, 69 deletions(-) delete mode 100644 chart/tugger/README.md diff --git a/chart/tugger/README.md b/chart/tugger/README.md deleted file mode 100644 index 65546e2..0000000 --- a/chart/tugger/README.md +++ /dev/null @@ -1,69 +0,0 @@ -# tugger - -![Version: 0.4.5](https://img.shields.io/badge/Version-0.4.5-informational?style=flat-square) ![AppVersion: 0.1.8](https://img.shields.io/badge/AppVersion-0.1.8-informational?style=flat-square) - -A Helm chart for Tugger - -**Homepage:** - -## Maintainers - -| Name | Email | Url | -| ---- | ------ | --- | -| jainishshah17 | | | - -## Source Code - -* - -## Values - -| Key | Type | Default | Description | -|-----|------|---------|-------------| -| affinity | object | `{}` | | -| createMutatingWebhook | bool | `false` | | -| createValidatingWebhook | bool | `false` | | -| docker.ifExists | bool | `false` | | -| docker.registrySecret | string | `"regsecret"` | | -| docker.registryUrl | string | `"jainishshah17"` | | -| image.pullPolicy | string | `"IfNotPresent"` | | -| image.pullSecret | string | `nil` | | -| image.repository | string | `"jainishshah17/tugger"` | | -| image.tag | string | `nil` | | -| livenessProbe.failureThreshold | int | `12` | | -| livenessProbe.httpGet.path | string | `"/ping"` | | -| livenessProbe.httpGet.port | string | `"https"` | | -| livenessProbe.httpGet.scheme | string | `"HTTPS"` | | -| livenessProbe.initialDelaySeconds | int | `5` | | -| livenessProbe.periodSeconds | int | `10` | | -| livenessProbe.successThreshold | int | `1` | | -| livenessProbe.timeoutSeconds | int | `3` | | -| namespaceSelector | string | `nil` | | -| nodeSelector | object | `{}` | | -| priorityClassName | string | `""` | | -| rbac.create | bool | `true` | | -| readinessProbe.failureThreshold | int | `1` | | -| readinessProbe.httpGet.path | string | `"/ping"` | | -| readinessProbe.httpGet.port | string | `"https"` | | -| readinessProbe.httpGet.scheme | string | `"HTTPS"` | | -| readinessProbe.initialDelaySeconds | int | `5` | | -| readinessProbe.periodSeconds | int | `10` | | -| readinessProbe.successThreshold | int | `1` | | -| readinessProbe.timeoutSeconds | int | `3` | | -| replicaCount | int | `1` | | -| resources | object | `{}` | | -| rules | list | `[]` | | -| service.port | int | `443` | | -| service.type | string | `"ClusterIP"` | | -| serviceAccount.create | bool | `true` | | -| serviceAccount.name | string | `nil` | | -| slackDedupeTTL | string | `nil` | | -| tls.caCert | string | `nil` | | -| tls.secretName | string | `nil` | | -| tolerations | list | `[]` | | -| webhookUrl | string | `nil` | | -| whitelistNamespaces[0] | string | `"kube-system"` | | -| whitelistRegistries | list | `[]` | | - ----------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)