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

Per-component override of secret mounts and paths #17167

Merged
merged 22 commits into from
Jun 26, 2020
Merged

Per-component override of secret mounts and paths #17167

merged 22 commits into from
Jun 26, 2020

Conversation

mshaposhnik
Copy link
Contributor

@mshaposhnik mshaposhnik commented Jun 17, 2020

What does this PR do?

  1. Secret mounting selector changed: instead of optional che.eclipse.org/target-container annotation, a new one is introduced
    che.eclipse.org/automount-workspace-secret: true | false, which means automount into all or none workspace containers, but it can be overriden in devfile for each component using automountWorkspaceSecrets: false | true property.

  2. For file-mount secrets, add ability to override mount path in devile component, by specifying
    an override volume:

components:
 - type: dockerimage
   alias: maven
   image: maven:3.11
   volumes:
     - name: <secret-name>
       containerPath: /my/new/path

What issues does this PR fix or reference?

#17079

Docs PR

eclipse-che/che-docs#1322 (in progress)

@che-bot che-bot added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. kind/task Internal things, technical debt, and to-do tasks to be performed. labels Jun 17, 2020
@che-bot
Copy link
Contributor

che-bot commented Jun 17, 2020

❌ E2E Happy path tests failed ❗

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

ℹ️ Use comment "[crw-ci-test]" to rerun happy path E2E test.

@mshaposhnik mshaposhnik marked this pull request as ready for review June 18, 2020 15:54
@mshaposhnik mshaposhnik requested review from sparkoo and removed request for nickboldt, l0rd, sleshchenko and amisevsk June 18, 2020 15:55
@che-bot
Copy link
Contributor

che-bot commented Jun 18, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

@che-bot
Copy link
Contributor

che-bot commented Jun 19, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

@che-bot
Copy link
Contributor

che-bot commented Jun 22, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

@che-bot
Copy link
Contributor

che-bot commented Jun 22, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

@che-bot
Copy link
Contributor

che-bot commented Jun 24, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

@che-bot
Copy link
Contributor

che-bot commented Jun 24, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

@che-bot
Copy link
Contributor

che-bot commented Jun 25, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

@mshaposhnik
Copy link
Contributor Author

ci-build

@che-bot
Copy link
Contributor

che-bot commented Jun 26, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

@mshaposhnik
Copy link
Contributor Author

ci-build

@che-bot
Copy link
Contributor

che-bot commented Jun 26, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

@mshaposhnik mshaposhnik merged commit 3b2dbca into eclipse-che:master Jun 26, 2020
@mshaposhnik mshaposhnik deleted the secret_override_devfile branch June 26, 2020 16:22
@che-bot che-bot removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/task Internal things, technical debt, and to-do tasks to be performed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants