Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Changes to API for mesh config integration#210

Merged
istio-testing merged 5 commits intoistio:masterfrom
ostromart:update-api
Aug 19, 2019
Merged

Changes to API for mesh config integration#210
istio-testing merged 5 commits intoistio:masterfrom
ostromart:update-api

Conversation

@ostromart
Copy link
Copy Markdown
Contributor

This reflects the first change to align better with mesh config:

  • removed all config items from API
  • removed redundant "common" path
  • removed per-component values overrides. All values overrides now go through single global path.
  • updated UT and profiles accordingly

@googlebot googlebot added the cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. label Aug 17, 2019
@istio-testing istio-testing added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Aug 17, 2019
Copy link
Copy Markdown
Contributor

@richardwxn richardwxn left a comment

Choose a reason for hiding this comment

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

Actually I like the idea of removing the common part and move per component values to global values, which makes the api easier to manipulate and understand

@istio-testing istio-testing added the needs-rebase Indicates a PR needs to be rebased before being merged label Aug 18, 2019
@istio-testing istio-testing removed the needs-rebase Indicates a PR needs to be rebased before being merged label Aug 19, 2019
)

func TestValueToProto(t *testing.T) {
t.Skip("Disabled while components.common.values is removed.")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Add a TODO here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I've created istio/istio#16390.

@@ -111,13 +111,6 @@ func genManifests(inFilename string, setOverlayYAML string) (name.ManifestMap, e

// fetchInstallPackageFromURL downloads installation packages from specified URL.
func fetchInstallPackageFromURL(mergedICPS *v1alpha2.IstioControlPlaneSpec) error {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

so we are removing this functionality for specifying version and install?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

for 1.3 only. we will discuss this again in 1.4 timeframe.

@istio-testing istio-testing merged commit e909725 into istio:master Aug 19, 2019
@richardwxn richardwxn mentioned this pull request Aug 20, 2019
@ostromart
Copy link
Copy Markdown
Contributor Author

/cherrypick release-1.3

@istio-testing
Copy link
Copy Markdown

@ostromart: #210 failed to apply on top of branch "release-1.3":

.git/rebase-apply/patch:1559: space before tab in indent.
 	AutoInjection     *AutoInjectionFeatureSpec     `protobuf:"bytes,30,opt,name=auto_injection,json=autoInjection,proto3" json:"auto_injection,omitempty"`
.git/rebase-apply/patch:1560: space before tab in indent.
 	Gateways          *GatewayFeatureSpec           `protobuf:"bytes,31,opt,name=gateways,proto3" json:"gateways,omitempty"`
.git/rebase-apply/patch:1561: space before tab in indent.
 	// Overrides for default global values.yaml.
.git/rebase-apply/patch:1582: space before tab in indent.
 	// Path or name for the profile e.g.
.git/rebase-apply/patch:1583: space before tab in indent.
 	//   minimal (looks in profiles dir for a file called minimal.yaml)
warning: squelched 2 whitespace errors
warning: 7 lines add whitespace errors.
Using index info to reconstruct a base tree...
M	README.md
M	cmd/mesh/manifest.go
M	go.mod
M	go.sum
M	installer.sha
M	pkg/apis/istio/v1alpha2/istiocontrolplane_types.pb.go
M	pkg/translate/translate.go
M	pkg/translate/translate_test.go
A	pkg/vfs/assets.gen.go
Falling back to patching base and 3-way merge...
CONFLICT (modify/delete): pkg/vfs/assets.gen.go deleted in HEAD and modified in Changes to API for mesh config integration. Version Changes to API for mesh config integration of pkg/vfs/assets.gen.go left in tree.
Auto-merging pkg/translate/translate_test.go
CONFLICT (content): Merge conflict in pkg/translate/translate_test.go
Auto-merging pkg/translate/translate.go
Auto-merging pkg/apis/istio/v1alpha2/istiocontrolplane_types.pb.go
CONFLICT (content): Merge conflict in pkg/apis/istio/v1alpha2/istiocontrolplane_types.pb.go
Auto-merging installer.sha
CONFLICT (content): Merge conflict in installer.sha
Auto-merging go.sum
Auto-merging go.mod
Auto-merging cmd/mesh/manifest.go
CONFLICT (content): Merge conflict in cmd/mesh/manifest.go
Auto-merging README.md
error: Failed to merge in the changes.
Patch failed at 0001 Changes to API for mesh config integration

Details

In response to this:

/cherrypick release-1.3

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.

ostromart added a commit to ostromart/operator that referenced this pull request Aug 20, 2019
* Changes to API for mesh config integration

* Review comments, add strategy

* Add strategy to k8s settings

* Fix unit tests
istio-testing pushed a commit that referenced this pull request Aug 21, 2019
* Eliminate vfsgen again. (#200)

* Fix build commmand for installing go-bindata (#202)

* Update makefile for proto related rules (#169)

* Update makefile for proto related rules to work for new system

* Address comments

* Add doc gen

* Upload updated pb.go files

* Update common

* Address comment

* Merge two install sections into one (#203)

* Merge two install sections into one

* Change section title

* Update to 2019-08-16 commonfiles (#207)

Enable MacOS based container builds.

Depends-On: istio/common-files#30
Depends-On: istio/tools#274

* support resource type for k8s mapping. (#206)

* support resource type for k8s mapping.

* apply comments.

* Fix reverse translation issue (#205)

* Fix reverse translation issue

* Address hpa spec issues

* Refactor

* Second version of refactor

* Address comment

* lint

* Changes to API for mesh config integration (#210)

* Changes to API for mesh config integration

* Review comments, add strategy

* Add strategy to k8s settings

* Fix unit tests

* update doc. (#212)

* update doc.

* apply comments.

* update link with recent source.

* Clean up values (#214)

* remove invalid and duplicated fields. (#217)
@ostromart ostromart deleted the update-api branch October 8, 2019 17:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants