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

helm chart: Add service account support #624

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

lianhao
Copy link
Collaborator

@lianhao lianhao commented Dec 4, 2024

Description

  1. Add service account support disabled by default for all common charts, enabled by default for all e2e charts.

  2. Add support of sharing the same service account by setting global.sharedSAName, disabled by default for all common charts, enabled by default for all e2e charts.

Issues

Fixes #532.

Type of change

List the type of change like below. Please delete options that are not relevant.

  • New feature (non-breaking change which adds new functionality)

Dependencies

n/a.

Tests

Describe the tests that you ran to verify your changes.

@lianhao
Copy link
Collaborator Author

lianhao commented Dec 4, 2024

The failure is not related to this PR, please see issue opea-project/GenAIComps#969

1. Add service account creation support, disabled by default.

2. Add support of sharing the same service account by setting
   global.sharedSAName, disabled by default.

Signed-off-by: Lianhao Lu <[email protected]>
1. Add service account creation support, enabled by default.

2. Add support of sharing the same service account by setting
   global.sharedSAName, enabled by default.

Signed-off-by: Lianhao Lu <[email protected]>
@lianhao
Copy link
Collaborator Author

lianhao commented Dec 10, 2024

All CI jobs have passed except for the known issue opea-project/GenAIComps#969 which is not related to this PR.

I'll merge this PR first to avoid rerun dozens of CI jobs again.

@lianhao lianhao merged commit 9bb7c3a into opea-project:main Dec 10, 2024
61 of 62 checks passed
mkbhanda pushed a commit that referenced this pull request Dec 11, 2024
* CI: dump all containers' log for chart test (#627)

Signed-off-by: Lianhao Lu <[email protected]>
Signed-off-by: kkrishTa <[email protected]>

* AKS Deployment for OPEA applications

Signed-off-by: kkrishTa <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Signed-off-by: kkrishTa <[email protected]>

* Reverted changes by pre commit hook. Updated readme as per suggestions

Signed-off-by: kkrishTa <[email protected]>

* Adding code spell ignore for Azure Kubernetes Service

Signed-off-by: kkrishTa <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Signed-off-by: kkrishTa <[email protected]>

* Adding code spell ignore for AKS and reverting pre commit changes

Signed-off-by: kkrishTa <[email protected]>

* Updating cluster name to opea as a generic name

Signed-off-by: kkrishTa <[email protected]>

* helm chart: Add service account support (#624)

* helm: Add service account support in common services

1. Add service account creation support, disabled by default.

2. Add support of sharing the same service account by setting
   global.sharedSAName, disabled by default.

Signed-off-by: Lianhao Lu <[email protected]>

* helm: Add service account support in e2e charts

1. Add service account creation support, enabled by default.

2. Add support of sharing the same service account by setting
   global.sharedSAName, enabled by default.

Signed-off-by: Lianhao Lu <[email protected]>

---------

Signed-off-by: Lianhao Lu <[email protected]>
Signed-off-by: kkrishTa <[email protected]>

* README: add links to terraform docs (#633)

* README: add links to terraform docs

Signed-off-by: Sakari Poussa <[email protected]>

* README: fix broken links

Signed-off-by: Sakari Poussa <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: Sakari Poussa <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: kkrishTa <[email protected]>

* Adding link to the Azure terraform readme to opea documentation

Signed-off-by: kkrishTa <[email protected]>

* Corrected md file link

Signed-off-by: kkrishTa <[email protected]>

* Updated relative links

Signed-off-by: kkrishTa <[email protected]>

---------

Signed-off-by: Lianhao Lu <[email protected]>
Signed-off-by: kkrishTa <[email protected]>
Signed-off-by: Sakari Poussa <[email protected]>
Co-authored-by: Lianhao Lu <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sakari Poussa <[email protected]>
@eero-t
Copy link
Contributor

eero-t commented Dec 11, 2024

@poussa Service account name is not prefixed with Helm chart release name, like is the case with all the other created k8s objects. Is that a problem?

@lianhao lianhao deleted the sa_support branch January 8, 2025 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature][helm-charts] Expose service account
4 participants