Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions charts/lfx-v2-auth-service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@ spec:
app: {{ .Chart.Name }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
app: {{ .Chart.Name }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- if eq .Values.app.environment.USER_REPOSITORY_TYPE.value "authelia" }}
serviceAccountName: {{ .Chart.Name }}
Expand Down
12 changes: 12 additions & 0 deletions charts/lfx-v2-auth-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@
# replicaCount is the number of replicas for the deployment
replicaCount: 3

# podAnnotations are additional annotations applied to the pod template.
# Example:
# prometheus.io/scrape: "true"
# prometheus.io/port: "8080"
podAnnotations: {}

Comment on lines 6 to +12
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Every other top-level value in values.yaml is preceded by a descriptive comment explaining its purpose (e.g., # replicaCount is the number of replicas for the deployment, # service is the configuration for the Kubernetes service). The new podAnnotations and podLabels keys are missing these explanatory comments, breaking the consistent documentation convention throughout this file. Please add comments such as # podAnnotations are additional annotations to add to the pod and # podLabels are additional labels to add to the pod.

Suggested change
podAnnotations: {}
# podAnnotations are additional annotations to add to the pod
podAnnotations: {}
# podLabels are additional labels to add to the pod

Copilot uses AI. Check for mistakes.
# podLabels are additional labels applied to the pod template.
# Example:
# team: platform
# environment: production
podLabels: {}

image:
repository: ghcr.io/linuxfoundation/lfx-v2-auth-service/server
# tag is the container image tag (overrides appVersion from Chart.yaml)
Expand Down