Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[xray]Added support for service account annotations #1841

Merged
merged 2 commits into from
Oct 1, 2024
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
2 changes: 1 addition & 1 deletion stable/xray/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -903,4 +903,4 @@ All changes to this chart will be documented in this file.
## [0.4.0] - Aug 22, 2018
* Enabled RBAC support
* Added ingress support
* Updated Xray version to 2.2.4
* Updated Xray version to 2.2.4
2 changes: 1 addition & 1 deletion stable/xray/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ name: xray
sources:
- https://github.com/jfrog/charts
type: application
version: 103.104.8
version: 103.104.8
4 changes: 4 additions & 0 deletions stable/xray/templates/xray-serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
apiVersion: v1
kind: ServiceAccount
metadata:
{{- with .Values.serviceAccount.annotations }}
annotations:
{{ tpl (toYaml .) $ | indent 4 }}
{{- end }}
labels:
app: {{ template "xray.name" . }}
chart: {{ template "xray.chart" . }}
Expand Down
2 changes: 2 additions & 0 deletions stable/xray/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,8 @@ serviceAccount:
## The name of the ServiceAccount to use.
## If not set and create is true, a name is generated using the fullname template
name:
## Service Account annotations
annotations: {}
## Explicitly mounts the API credentials for the Service Account
automountServiceAccountToken: true

Expand Down
Loading