Skip to content

Commit

Permalink
Merge pull request #20 from whylabs/dev/aberg/svc-annot-#86aztrd6v
Browse files Browse the repository at this point in the history
Add configurable annotations for service resource
  • Loading branch information
AnchorArray authored Mar 22, 2024
2 parents 455af20 + 0a41a03 commit 01bb3d7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 2 deletions.
7 changes: 7 additions & 0 deletions charts/langkit/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning]
(https://semver.org/spec/v2.0.0.html).


## [0.15.0] - 2023-03-22

### Added

- Added configurable annotations for `Service` resource

## [0.14.0] - 2023-03-21

### Changed
Expand Down
2 changes: 1 addition & 1 deletion charts/langkit/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: langkit
description: A Helm chart for LangKit container deployment
type: application
version: 0.14.0
version: 0.15.0
appVersion: "1.0.11"
3 changes: 2 additions & 1 deletion charts/langkit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ helm-docs --dry-run
| image.containerPort | int | `8000` | |
| image.pullPolicy | string | `"Always"` | |
| image.repository | string | `"registry.gitlab.com/whylabs/langkit-container"` | |
| image.tag | string | `"1.0.8"` | |
| image.tag | string | `"1.0.11"` | |
| imagePullSecrets[0].name | string | `"langkit-gitlab-registry-secret"` | |
| ingress.annotations | object | `{}` | |
| ingress.className | string | `""` | |
Expand Down Expand Up @@ -138,6 +138,7 @@ helm-docs --dry-run
| resources.requests.memory | string | `"4Gi"` | |
| secrets.langkitApiSecret.name | string | `"langkit-api-secret"` | Name of the secret that stores the WhyLabs LangKit API Secret |
| secrets.whylabsApiKey.name | string | `"whylabs-api-key"` | Name of the secret that stores the WhyLabs API Key |
| service.annotations | object | `{}` | |
| service.port | int | `80` | |
| service.type | string | `"ClusterIP"` | |
| serviceAccount.annotations | object | `{}` | |
Expand Down
4 changes: 4 additions & 0 deletions charts/langkit/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ metadata:
name: {{ include "langkit.fullname" . }}
labels:
{{- include "langkit.labels" . | nindent 4 }}
{{- if .Values.service.annotations }}
annotations:
{{- toYaml .Values.service.annotations | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
Expand Down
1 change: 1 addition & 0 deletions charts/langkit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ containers:
mountPath: /tmp

service:
annotations: {}
type: ClusterIP
port: 80

Expand Down

0 comments on commit 01bb3d7

Please sign in to comment.