Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge collab-galley to master (istio#15891)
* Introduce galley/pkg/config/resource (istio#14725) * Add pkg/config/resource * Fix lint issues. * Add pkg/config/collection (istio#14749) * Add pkg/config/collection * Remove commented out code. * Make go linter happy. * Fix CR comments. * Delete runaway file. * Add pkg/config/event (istio#14825) * Add pkg/config/schema for Galley config metadata (istio#14852) * Add pkg/config/schema pkg/config/schema contains the main metadata parser/data model for Galley. + Adds the ast, model, parser &validator for the metadata model. + Adds codegeneration tools for generating code artifacts: mainly for pulling in proto types, and having well-defined collection names. * Add more schema tests. * Fix lint errors. * [collab-galley] Add basic kubernetes file processing utilities (istio#14965) * Add pkg/config/util * Linter fix. * [collab-galley] Add pkg/config/meshcfg (istio#15044) * Add pkg/config/meshcfg * Simplify concurrency model * Move pkg/features/pilot to pilot/pkg/features. This cleans up the /pkg package, in preparation of multi-repo. * Add pkg/config/source/inmemory (istio#15100) * [collab-galley] Add K8s core type model and in-memory support. (istio#15112) * Add K8s core type model and in-memory support. * Fix linter issues * Accommodate CR feedback. * [collab-galley] Add Filesystem source support. (istio#15163) * Add Filesystem source support. * Fix lint errors. * [collab-galley] Introduce pkg/config/source/kube/apiserver (istio#15169) * Introduce pkg/config/source/kube/apiserver * Fix lint errors. * Handle no-informer case. * fix lint issues. * Accommodate CR feedback. * [collab-galley] Introduce the config processing engine (istio#15361) * Introduce pkg/config/processing * Remove monitoring code. * Streamline session code. * More Streamline session code. * Fixup remaining state updates. * Fix lint issues. * Add comments to runtime for better explanation. * Accommodate CR feedback. * Add event.MergeSources. * Add Source merging support. * Fix lint error. * Interim factory model. * Fix lint error * Rename combinedSources. * Deflake TestRuntime_MeshEvent_WhileRunning * Accommodate CR feedback. * fix lint error * fix test. * Streamline logging scopes. * Fix lint error. * Fix lint error. * Fix test. * Fix test. * fix lint issue * [collab-galley] Complete the new config processor (istio#15580) * Introducing pkg/config/processor - Basic changes before landing the processor code. - Add a event.NewFnTransform, that allows creating transformers from functions. - Add various utility methods in eventing code. - Add synchronization in Runtime to avoid missing initial events, due to timings. * Add basic metadata. * Add authpolicy and direct converters. * Add Ingress transform * Direct copy of transform code. * Transform servieceentry code to the new model. * Complete pkg/processor. * Fix lint errors * Fix lint errors & tests. * Accommodate feedback. * [collab-galley] Merge a few critical PRs from master to collab-galley (istio#15649) * Refactor server.Args out to its own package. (istio#15202) * Refactor server.Args out to its own package. - Move all settings into Args struct. - Make handling of defaults in command-line uniform. - Minor code analysis fixes. * Add missing edit. * Fix lint errors * fix server_test.go * suppress lint check * Fix imports. * Add a process package to galley/pkg/server for tracking sub-components (istio#15203) * Add a process package to pkg/server for tracking sub-component. - process.Host is a basic container of multiple sub-components. - process.Component is an interface to be implemented by sub-components. * Fix lint errors. * Accommodate CR feedback. * Componentize code by moving it into server/components. (istio#15227) # Conflicts: # galley/pkg/server/server.go * [collab-galley] Wire-up the new pipeline (flag protected, off by default) (istio#15651) * Wire-up the new processing pipeline. * Fix comment * Remove dashboard entries for defunct metricx. * Accommodate feedback. * Accommodate feedback. * Accommodate feedback. * Accommodate feedback. (istio#15661) * [collab-galley] CRD Discovery support (istio#15652) * Add CRD listening support to Galley API Server Source. With CRD support, Galley will discover CRDs dynamically and will listen to only available ones. If Galley detects a change to the CRDs, then it will restart its config processing pipeline. Also add missing metadata entries for legacy Mixer resources. * Accommodate CR feedback. * Fix a crash, where the wrong collection name is passed to a snapshot. (istio#15818) * Fix lint issues. * Fix Yaml lint issues.
- Loading branch information