Skip to content

Commit

Permalink
Adding Service level Annotations to Values
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccright-ms3 committed Aug 10, 2021
1 parent dbde90d commit 727fff6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tavros/camel-web-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# 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.2.1
version: 0.2.2

# 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
Expand Down
3 changes: 3 additions & 0 deletions tavros/camel-web-service/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ metadata:
{{ .Values.service.port }}.service.kuma.io/protocol: http
8080.service.kuma.io/protocol: http
ingress.kubernetes.io/service-upstream: "true"
{{- with .Values.service.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
Expand Down
1 change: 1 addition & 0 deletions tavros/camel-web-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ podEnvVars: []
podAnnotations: {}

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

Expand Down

0 comments on commit 727fff6

Please sign in to comment.