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

Move ory crds to cluster essentials #8370

Merged
merged 5 commits into from Jun 1, 2020
Merged

Conversation

m00g3n
Copy link
Contributor

@m00g3n m00g3n commented May 5, 2020

Description

Changes proposed in this pull request:

  • Move ory custom resource definitions to cluster essentials

Related issue(s)

See also: #7933

@netlify
Copy link

netlify bot commented May 5, 2020

🥰 Documentation preview ready! 🥰

Built with commit 6d15ff2

https://deploy-preview-8370--kyma-project-docs-preview.netlify.app

@m00g3n
Copy link
Contributor Author

m00g3n commented May 6, 2020

/test pre-master-kyma-gke-upgrade

@m00g3n
Copy link
Contributor Author

m00g3n commented May 14, 2020

/test pre-master-kyma-gke-upgrade

@m00g3n
Copy link
Contributor Author

m00g3n commented May 15, 2020

/test pre-master-kyma-gke-compass-integration

@m00g3n
Copy link
Contributor Author

m00g3n commented May 15, 2020

/test pre-master-kyma-gke-integration

@m00g3n
Copy link
Contributor Author

m00g3n commented May 15, 2020

/test pre-master-kyma-gke-compass-integration

@m00g3n m00g3n added area/cluster Related to all activities around cluster and its stability area/installation Issues or PRs related to installation kind/feature Categorizes issue or PR as related to a new feature. and removed WIP labels May 18, 2020
- /bin/bash
- -c
- |-
set -e
Copy link

@piotrmsc piotrmsc May 19, 2020

Choose a reason for hiding this comment

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

In general we should consider retries for all kubectl operations in jobs. Cool example can be found here with timeout & until https://github.com/kyma-project/kyma/blob/master/installation/resources/tiller.yaml#L129
crafted by our bash hero @Demonsthere

@m00g3n
Copy link
Contributor Author

m00g3n commented May 21, 2020

/test pre-master-kyma-gke-compass-integration

@@ -22,9 +22,31 @@ spec:
- name: crd-oauth2clients
mountPath: /etc/crd
readOnly: true
command: ["kubectl", "apply", "-f", "/etc/crd/oauth2clients.yaml"]
command:
- timeout

Choose a reason for hiding this comment

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

Since we are doing bash in bash here, maybe to simplify this structure a little bit, move it to a separate file in the files directory, and include it with Files.Get? The current form is very hard to read

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. I think the best idea would be to do it in a follow-up task that we could start to work on once we will have all CRDs in cluster-essentials. We could also come up with some generic mechanism (e.g. base on directory structure) that would have a logic to install/update all the CRDs .

Copy link

@Demonsthere Demonsthere left a comment

Choose a reason for hiding this comment

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

/meow

@kyma-bot
Copy link
Contributor

@Demonsthere: cat image

In response to this:

/meow

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@piotrmsc
Copy link

piotrmsc commented Jun 1, 2020

Please also update README of CE repo https://github.com/kyma-project/kyma/tree/master/resources/cluster-essentials.

With all your pr's moving CRDs we need to properly describe what is now cluster-essentials repo, what is being installed :) /cc @bszwarc

@m00g3n m00g3n merged commit 6277f73 into kyma-project:master Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cluster Related to all activities around cluster and its stability area/installation Issues or PRs related to installation kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants