-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'jacek/feat/testkube-logs-service-chart' into local-inst…
…all-enterprise
- Loading branch information
Showing
19 changed files
with
742 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
charts/testkube-logs-service/.argocd-source-edge-testkube-worker-service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
helm: | ||
parameters: | ||
- name: image.name | ||
value: kubeshop/testkube-log-service | ||
forcestring: true | ||
- name: image.tag | ||
value: 1.8.0-dev-dfdb072f | ||
forcestring: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ | ||
# Argo Image Updater | ||
.argocd-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: v2 | ||
name: testkube-log-service | ||
description: A Helm chart for Testkube log Service | ||
type: application | ||
version: 1.29.0 | ||
appVersion: 1.7.2 | ||
maintainers: | ||
- name: testkube | ||
url: https://testkube.io | ||
icon: https://assets.website-files.com/61e00b3936e571a4ea7a5a4c/623b2bb9387ad04955b1f82c_testkube.svg | ||
home: https://github.com/kubeshop/testkube-cloud-charts | ||
sources: | ||
- https://github.com/kubeshop/testkube-log-service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# testkube-log-service | ||
|
||
   | ||
|
||
A Helm chart for Testkube log Service | ||
|
||
**Homepage:** <https://github.com/kubeshop/testkube-cloud-charts> | ||
|
||
## Maintainers | ||
|
||
| Name | Email | Url | | ||
| ---- | ------ | --- | | ||
| testkube | | <https://testkube.io> | | ||
|
||
## Source Code | ||
|
||
* <https://github.com/kubeshop/testkube-log-service> | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| additionalEnv | object | `{}` | Additional env vars to be added to the deployment | | ||
| affinity | object | `{}` | | | ||
| api.minio.accessKeyId | string | `""` | MinIO access key id | | ||
| api.minio.credsSecretRef | string | `""` | Credentials secret ref (secret should contain keys: root-user, root-password, token) (default is `testkube-cloud-minio-secret`) | | ||
| api.minio.endpoint | string | `"minio.testkube.svc.cluster.local:9000"` | MinIO endpoint | | ||
| api.minio.expirationPeriod | int | `0` | Expiration period in days | | ||
| api.minio.region | string | `""` | S3 region | | ||
| api.minio.secretAccessKey | string | `""` | MinIO secret access key | | ||
| api.minio.secure | bool | `false` | Should be set to `true` if MinIO is behind | | ||
| api.minio.token | string | `""` | MinIO token | | ||
| api.nats.uri | string | `"nats://nats.messaging.svc.cluster.local:4222"` | NATS URI | | ||
| api.outputsBucket | string | `"testkube-cloud-outputs"` | S3 bucket in which outputs are stored | | ||
| autoscaling.enabled | bool | `false` | Toggle whether to enable Horizontal Pod Autoscaler | | ||
| autoscaling.maxReplicas | int | `10` | | | ||
| autoscaling.minReplicas | int | `1` | | | ||
| autoscaling.targetCPUUtilizationPercentage | int | `80` | | | ||
| autoscaling.targetMemoryUtilizationPercentage | int | `80` | | | ||
| externalSecrets.clusterSecretStoreName | string | `"secret-store"` | | | ||
| externalSecrets.enabled | bool | `false` | | | ||
| externalSecrets.keys | object | `{}` | | | ||
| externalSecrets.refreshInterval | string | `"5m"` | | | ||
| fullnameOverride | string | `""` | | | ||
| global.imagePullSecrets | list | `[]` | | | ||
| image.pullPolicy | string | `"IfNotPresent"` | | | ||
| image.repository | string | `"kubeshop/testkube-log-service"` | | | ||
| image.tag | string | `"1.6.7"` | | | ||
| imagePullSecrets | list | `[]` | | | ||
| nameOverride | string | `""` | | | ||
| nodeSelector | object | `{}` | | | ||
| podAnnotations | object | `{}` | | | ||
| podSecurityContext | object | `{}` | Pod Security Context | | ||
| prometheus.enabled | bool | `false` | Toggle whether to create ServiceMonitor resource for Prometheus Operator | | ||
| prometheus.labels | object | `{}` | ServiceMonitor labels | | ||
| prometheus.path | string | `"/metrics"` | Metrics path which will be scraped | | ||
| prometheus.port | string | `"metrics"` | Metrics port which will be scraper | | ||
| prometheus.scrapeInterval | string | `"15s"` | Scrape interval configuration in ServiceMonitor resource | | ||
| replicaCount | int | `1` | | | ||
| resources.limits | object | `{}` | It is strongly recommended to set limits for both cpu and memory | | ||
| resources.requests.cpu | string | `"100m"` | | | ||
| resources.requests.memory | string | `"128Mi"` | | | ||
| securityContext | object | `{"readOnlyRootFilesystem":true}` | Security Context for app container | | ||
| serviceAccount.annotations | object | `{}` | Additional annotations to add to the ServiceAccount resource | | ||
| serviceAccount.create | bool | `false` | Toggle whether to create a ServiceAccount resource | | ||
| serviceAccount.labels | object | `{}` | Additional labels to add to the ServiceAccount resource | | ||
| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | | ||
| tolerations | list | `[]` | | | ||
|
||
---------------------------------------------- | ||
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0) |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
{{/* | ||
Expand the name of the chart. | ||
*/}} | ||
{{- define "testkube-log-service.name" -}} | ||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
If release name contains chart name it will be used as a full name. | ||
*/}} | ||
{{- define "testkube-log-service.fullname" -}} | ||
{{- if .Values.fullnameOverride }} | ||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- $name := default .Chart.Name .Values.nameOverride }} | ||
{{- if contains $name .Release.Name }} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create chart name and version as used by the chart label. | ||
*/}} | ||
{{- define "testkube-log-service.chart" -}} | ||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
|
||
{{/* | ||
Common Testkube labels | ||
*/}} | ||
{{- define "testkube-log-service.labels" -}} | ||
app.kubernetes.io/version: {{ .Values.image.tag | quote }} | ||
app.kubernetes.io/component: backend | ||
{{ include "testkube-log-service.selectorLabels" . }} | ||
{{ include "testkube-log-service.baseLabels" . }} | ||
{{- end }} | ||
|
||
{{/* | ||
Testkube selector labels | ||
*/}} | ||
{{- define "testkube-log-service.selectorLabels" -}} | ||
app.kubernetes.io/name: {{ include "testkube-log-service.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
{{- end }} | ||
|
||
{{/* | ||
MinIO selector labels | ||
*/}} | ||
{{- define "testkube-log-service.minio.selectorLabels" -}} | ||
app.kubernetes.io/name: testkube-cloud-minio | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
{{- end }} | ||
|
||
{{/* | ||
Base labels | ||
*/}} | ||
{{- define "testkube-log-service.baseLabels" -}} | ||
helm.sh/chart: {{ include "testkube-log-service.chart" . }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
app.kubernetes.io/part-of: testkube-{{ if .Values.global.enterpriseMode }}enterprise{{ else }}cloud{{ end }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create the name of the service account to use | ||
*/}} | ||
{{- define "testkube-log-service.serviceAccountName" -}} | ||
{{- if .Values.serviceAccount.create }} | ||
{{- default (include "testkube-log-service.fullname" .) .Values.serviceAccount.name }} | ||
{{- else }} | ||
{{- default "default" .Values.serviceAccount.name }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{/* | ||
Get REST Ingress host | ||
*/}} | ||
{{- define "testkube-log-service.ingress.restHost" -}} | ||
{{- if .Values.global.domain }} | ||
{{- printf "%s.%s" .Values.global.restApiSubdomain .Values.global.domain }} | ||
{{- else }} | ||
{{- .Values.restIngress.host }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{/* | ||
Get gRPC Ingress host | ||
*/}} | ||
{{- define "testkube-log-service.ingress.grpcHost" -}} | ||
{{- if .Values.global.domain }} | ||
{{- printf "%s.%s" .Values.global.grpcApiSubdomain .Values.global.domain }} | ||
{{- else }} | ||
{{- .Values.grpcIngress.host }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{/* | ||
Get Websockets Ingress host | ||
*/}} | ||
{{- define "testkube-log-service.ingress.websocketsHost" -}} | ||
{{- if .Values.global.domain }} | ||
{{- printf "%s.%s" .Values.global.websocketApiSubdomain .Values.global.domain }} | ||
{{- else }} | ||
{{- .Values.websocketsIngress.host }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{/* | ||
THIS IS A HACK TO WORKAROUND LET'S ENCRYPT RATE LIMITS | ||
*/}} | ||
{{- define "testkube-log-service.ingress.hackHost" -}} | ||
{{- printf "health.%s" .Values.global.domain }} | ||
{{- end }} |
Oops, something went wrong.