Skip to content

Commit

Permalink
adding ability to leverage basic annotations (#198)
Browse files Browse the repository at this point in the history
* adding ability to leverage basic annotations

* updated terminology per maintainer request
  • Loading branch information
adamwolfe-tc authored Nov 13, 2023
1 parent a78279c commit c2585de
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/devlake/templates/deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ spec:
{{- with .Values.ui.extraLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
{{- toYaml .Values.ui.podAnnotations | nindent 8 }}
spec:
{{- with .Values.ui.securityContext }}
securityContext:
Expand Down Expand Up @@ -113,6 +115,8 @@ spec:
{{- with .Values.lake.extraLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
{{- toYaml .Values.lake.podAnnotations | nindent 8 }}
spec:
{{- with .Values.lake.securityContext }}
securityContext:
Expand Down
2 changes: 2 additions & 0 deletions charts/devlake/templates/statefulsets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ spec:
{{- with .Values.mysql.extraLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
{{- toYaml .Values.mysql.podAnnotations | nindent 8 }}
spec:
{{- with .Values.mysql.securityContext }}
securityContext:
Expand Down
8 changes: 8 additions & 0 deletions charts/devlake/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ mysql:

containerSecurityContext: {}

podAnnotations: {}

service:
type: "ClusterIP"
nodePort: ""
Expand Down Expand Up @@ -135,6 +137,8 @@ mysql:

# containerSecurityContext: {}

# annotations: {}

# dependency chart values
grafana:
enabled: true
Expand Down Expand Up @@ -200,6 +204,8 @@ lake:

containerSecurityContext: {}

podAnnotations: {}

ui:
image:
repository: devlake.docker.scarf.sh/apache/devlake-config-ui
Expand All @@ -223,6 +229,8 @@ ui:

extraLabels: {}

podAnnotations: {}

## SecurityContext holds pod-level security attributes and common container settings.
## This defaults to non root user with uid 101 and gid 1000. *v1.PodSecurityContext false
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
Expand Down

0 comments on commit c2585de

Please sign in to comment.