-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add script for generating deployment yamls and static deployment files #257
Commits on Feb 9, 2021
-
Set webhooks to always true, since they're required now
Since we moved to multi-version devfile/api CRDs, the webhook server is a required component of the DevWorkspace Operator. Currently, the server is set up to not interfere with any default flows (e.g. local debugging) as it is a separate deployment. It has also been restricted to only apply when the restricted-access annotation is set. Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 060e796 - Browse repository at this point
Copy the full SHA 060e796View commit details -
Add script for running kustomize on config directory
Supports --use-defaults argument to generate yamls with default values applied; otherwise current shell environment is used. Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for c465a0d - Browse repository at this point
Copy the full SHA c465a0dView commit details -
Update makefile to use generator script
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 13dd791 - Browse repository at this point
Copy the full SHA 13dd791View commit details -
Generate static deployment files using generate-templates.sh script
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 920e07a - Browse repository at this point
Copy the full SHA 920e07aView commit details -
Add PR check for current static deployment files
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for c68175b - Browse repository at this point
Copy the full SHA c68175bView commit details -
Reorganize templates for deploying controller
Rework file structure from config ├── <kustomize templates> ├── current (untracked; dev environment) └── static (static deployment files) to deploy ├── current (untracked; dev environment) ├── deployment (static deployment files) └── templates (templates from which above dirs are generated └── <kustomize templates> and adjust scripts to match. Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for c0e8574 - Browse repository at this point
Copy the full SHA c0e8574View commit details -
Mark generated files as such in .gitattributes
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for e39b11a - Browse repository at this point
Copy the full SHA e39b11aView commit details -
Update license years for all files for 2021
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for b15c7ad - Browse repository at this point
Copy the full SHA b15c7adView commit details -
Workaround CI issue due to bash version being too old
The '-d' argument to readarray is only supported in bash >4.4, which is not present on the CI machines (or MacOS, by default...). Use a simple glob instead to sort parsed yamls into subdirectories. Also double quote env vars in generate-deployment.sh, just in case. Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 8ff57ea - Browse repository at this point
Copy the full SHA 8ff57eaView commit details -
Add --split-yaml argument to generate-deployment.sh
Disable splitting combined.yaml into multiple files by default in generate deployment. This removes the strict dependency on `yq` and makes the script faster for basic use (make install only uses combined.yaml). Add argument --split-yaml to re-enable splitting yaml if necessary. When --use-defaults is passed, --split-yaml is assumed. Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for a81b7fe - Browse repository at this point
Copy the full SHA a81b7feView commit details -
Use generate makefile rule in uninstall as well
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for e7b3643 - Browse repository at this point
Copy the full SHA e7b3643View commit details