* CRDs should not have status field.
* kubeflow/manifests#1174 lots of CRDs have status fields which
causes ACM to complain that the CRD is invalid.
* This PR cleans up those CRDs and adds an appropriate validation test.
* Fix typos in AWS application specs (kubeflow/testing#668)
* Update tests.
* Fixkubeflow/manifests#1131
* kustomize commonLabels get subsituted into selector fields. Selector fields
are immutable. So if commonLabels change (e.g. between versions) then
we can't reapply/update the existing resources which breaks upgrades
(kubeflow/kfctl#304)
* For the most part the problematic commonLabels were on our Application
resources. The following labels were being set
"app.kubernetes.io/version"
"app.kubernetes.io/instance"
"app.kubernetes.io/managed-by"
"app.kubernetes.io/part-of"
* Version was definetely changing between versions. instance was also changing
between versions to include the version number.
* managed-by and part-of could also change (e.g. we may not be using kfctl)
* We could still set these labels if we wanted to; we just shouldn't set
them as commonLabels and/or include them in the selector as the will
inhibit upgrades with kubectl apply.
* I created a test validate_resources_test.go to ensure none of these
labels are included in commonLabels
* I created a simple go binary tools/fix_common_labels.go to update
all the resources.
* generat_tests.py - Delete the code to remove unmatched tests.
* We no longer generate tests that way and the delete code was going
to delete valid tests like our new validation test
* Get rid of the clean rule in the Makefile for the same reason.
* As discussed in http://bit.ly/kf_kustomize_v3 we want to use better
patterns in our kustomize manifests.
* This PR uses kustomize to compose Kubeflow applications into a "stack" of
the applications to be installed on GCP.
* Note: This is only an initial set of applications not all applications
are installed.
* Define a "stack" a stack is an oppionated way of combining applications
* a stack is oppinionated about which applications to include and how
to configure them
* So we define a GCP stack that would contain the apps to be
included in GCP deployments.
* Stacks can be used to replace much of the functionality currently
achieved by the list of applications in KFDef
* Instead of listing applications in KFDef we could just point to a
kustomization file containing the list of applications.
* Define an example illustrating how alice would define an overlay
to add her kustomizations.
* Show how she can define a patch to modify the additional configuration
parameters for her deployment.
Start defining a KFDef that uses the new v3 manifests and the stacks
* We still need to have multiple applications (and not a single kustomize) application because the namespace for some applications are different
* e.g. ISTIO is installed in istio-system not kubeflow namespace so
we keep it as a separate kustomize package
* Create v3 version of a couple applications
* meta controller
* notebook controller
* certmanager
Fix some bugs in some v3 packages
* jupyter_web_app - base/deployment.yaml had some changes that needed to be removed because these are now in a patch because we don't want the changes to be included in the v3 version
Fix centraldashboard v3
* Move the resources back to base and make base_v3 depend on base rather than
the other way around.
* It also looks like we ended up duplicating resources between base_v3 and
base; probably because of bad merges and rebase
* In rolebindings don't use vars to substitute in the namespace just
hardcode the values as needed.
* Upgrade kustomize to v3.2.0 otherwise the tests don't pass
* In particular using v3.1.0 the jupyter-web-app doesn't have the unique
name of the kubeflow-config configmap (i.e. with the content hash)
substituted into the environment variable configmap ref names.
* Add finalizers to roles, change argo executor to k8sapi
* Update Argo-UI deployment to make it work
* Update Katib v2
* Aligned Argo config map with master
* Fixed tests
* Updated for the version 0.7
* Updated for the version 0.7
* Updated for the version 0.7
* Updated for the version 0.7
* Regenerated tests
* Update the notebook-controller image.
* It looks like the code may not have actually changed since we last
built the image. Nonethless, lets update the tag to use the sha
as opposed to a tag like v20190911-e8193317-dirty-cd2831
* Update the tests.
* Disable the new test for making sure the images are set because it doesn't
handle digests.
* Related to #444
* ISTIO related deployments are deployed to wrong namespace
* adding unit tests
* new tests, fixes for istio overlays
* exclude istio-install base test for now
* update istio-install
* remove duplicate CRDs from istio-noauth.yaml
* reprocessed istio-noauth.yaml
* separate crds from install
* add commonLabel for mysql
* secretName should be tlsSecretName
* rebase from upstream master
* reconcile with master
* remove istio overlay for pipeline-viewer
* add istio overlay to katib
* update tests for katib and basic-auth istio overlays
* reorder crd.yaml
* separate cert-manager-crds since kustomize doesn't do ordering
* fix for invalid image
* add USE_ISTIO to notebook-controller
* update notebook_controller image, fix for namespace ref
* fix for namespace
* fix for couldn't find key errors
* separate pytorch crd since kustomize doesn't guarantee ordering
* separate pytorch crd since kustomize doesn't guarantee ordering
* revert back to including pytorch crd in pytorch-operator
* remove application.yamls and add as overlay in followup PR
* update tests, fix for pytorch-jobs to separate out the crd
* rebase from upstream/master
* add selector
* update unit-test for pytorch-operator
* move to v1, v1beta1 versions
* update to crd version and deployment
* update to deployment using var
* fixes for deployment merge
* versions must list v1beta2 first
* fix for argo-ui
* define POD_LABELS, USE_ISTIO vars in kustomization.yaml
* provide default value for USE_ISTIO
* sync unit-tests with notebook-controller fix of setting the default value of USE_ISTIO
* added generalized admission-webhook
* merged with master
* added podpreset access to jupyter-web-app
* update images
* fixed admission-webhook roles
* applied code review comments
* undo changes for README
* undo README changes
* fixed bootstrap service account name
* fixed bugs
* seperated webhook and bootstrap components of admission-webhook
* fixed to pass tests
* skip juptrer test
* skip profile test
* fixes to skip tests
* removed jupyter and profiles test
* skipped admission-webhook unit test
* removed temp files
* small fix
* skip webhook and bootstrap unit test
* remove webhook related unit tests
* fixtes for test names
* port to kustomize, initial checkin
* updates to agree with design doc
* fixes for ambassador, centraldashboard and pytorch-operator
* fixes to argo, pipeline, and tensorboard
* make sure newTags are strings
* add array entry in notebook-controller
* indent error
* workaround for kustomize issue #677
* kustomization file is generated by package manager, added cert-manager, updates to pipeline, tensorboard
* add resources for cert-manager
* add cloud-endpoints
* added gcp-credentials-admission-webhook gpu-driver iap-ingress
* add spartakus
* update spartakus
* use same grouping as ksonnet
* remove kubeflow namespace references, make image reference a string
* Workaround for https://github.com/kubernetes-sigs/kustomize/issues/677
* StatefulSet requires serviceName
* clientConfig requires namespace
* added kubebench
* removed namespace from subjects since this is provided at the top-level kustomization.yaml
* add application, remove ksonnet label
* fixes for formatting, indentation
* added profiles
* using resources.yaml until integration
* update to README.md
* replace schema with the latest from sigs.k8s.io/application
* re-adding ambassador from master
* use argo/base files on master
* rebase from master
* rebase from master for jupyter-web-app
* rebase jupyter-web-app from master
* rebase from master
* rebase notebook-controller from master
* rebase pipelines from master
* remove namespace from pipelines, fix non-nested name
* fix indentation error in jupyter-web-app service
* fix indentation for jupyter-web-app/base/service.yaml
* deploy application from callback hook
* move pipelines back to pipeline so we can use either ksonnet or kustomize until conversion is complete
* refactored jupyter-web-app to use namePrefix, added role, rolebinding
* jupyter-web-app refactoring
* refactoring jupyter to better use kustomize
* additional fixes
* additional fixes in cloud-endpoints
* fixes for gcp-credentials-admission-webhook
* indentation error on env
* indentation errors
* modify an existing Application via callback
* move application CRD to metacontroller
* update application definition
* fix for Application CRD
* remove Application CR
* add Application CRD to metacontroller
* added jupyter and overlap for minikube
* standardized all components to be under base or overlays/<platform>
* fixes for base dirs
* remove katib for now, define a kustomization file for pipeline
* update README.md
* update to README.md
* rebase from upstream master
* update README.md
* update README.md
* update to README.md
* update to README.md
* fix for jupyter target