-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7b04ca5
commit 564d587
Showing
2 changed files
with
3 additions
and
3 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
564d587
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I'd like to check on the possibility of adding [annotations] directly to the top [metadata] section of the deployment yaml template, as shown in the link below. This is because I'm deploying my application in a Kubernetes environment using YACE as a helm chart, and there's a requirement for annotations in the metadata. Thank you!
Link to the template: https://github.com/nerdswords/helm-charts/blob/main/charts/yet-another-cloudwatch-exporter/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "yet-another-cloudwatch-exporter.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "yet-another-cloudwatch-exporter.labels" . | nindent 4 }}
annotations:
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}