Commit Graph

325 Commits

Author SHA1 Message Date
Rei Shimizu 291096a6ad
add option to skip sidecar generated requestID based sampling decision (#2104)
* add option to skip sidecar generated requestID based sampling decision

* release note

* fix

* fix

* move to telemetry api

* missing file

Signed-off-by: Shikugawa <Shikugawa@gmail.com>

* hide from docs
2021-11-02 16:38:13 -07:00
Daniel Grimm ff03a60b15
Make WasmPlugin's sha256 field non-optional (#2125)
We don't use the optional flag on any other Istio resource, and it
creates strange semantics in the generated code. This aligns WasmPlugin
with existing CRDs.
2021-10-14 08:50:06 -07:00
Sam Naser 7601b496f6
Add ProxyConfig CRD (#2080)
* Add ProxyConfig CRD

* Iterate on comments

* Update description

* Add proper cue gen annotations

* Add plural

* Add storageVersion cue annotation

* iterate on comments

* improve docs

* improve descriptions

* update release note
2021-10-13 10:42:15 -07:00
Iris cc56825c86
add signer and trustdomains into certificateData (#2090) 2021-10-10 20:27:15 -07:00
jacob-delgado 5c0524bcf8
Add support for Envoy's connection type LOGICAL_DNS in ServiceEntry (#2084)
* Add logical to service entry resolution

* Run make gen

* Attempt to come up with a better name instead of LOGICAL

* Run make gen

* Code review comments

* Add release notes

* Update comments

* Update previous definitions

* Fix releasenotes

* Run make gen

* Fix release notes

* Fix release notes
2021-10-04 22:43:55 -07:00
John Howard 21d8f992ec
update protoc version (#2109) 2021-10-01 13:53:33 -07:00
John Howard d6ce87e3e1
Add scheme and port to redirect (#2088)
* Add scheme and port to redirect

* Switch to enum

* Apply Louis' suggestions
2021-09-10 14:07:58 -07:00
Neeraj Poddar f8889a3464
Add global HTTP retry policy API in MeshConfig (#2058)
* Add global HTTP retry policy API in MeshConfig

Addresses: https://github.com/istio/istio/issues/6861

* Add release notes

* Add release notes

* Clarify disabling retry policy

* Fix disable comment

* Clarification about perRetryTimeout field

* Added hide_from_docs flag
2021-08-10 13:59:15 -07:00
Zhonghu Xu 94eb838216
General topology aware loadbalancing (#2043)
* Support general topology aware loadbalancing

* fix comments

* make gen

* make proto-commit
2021-08-09 02:30:20 -07:00
Kenan O'Neal 0412822e64
Introduce InsecureSkipVerify to DR (#2040)
* Introduce InsecureSkipVerify to DR

* hide VerifyCertificateAtClient in ProxyConfig to eventually be
removed.
* Add InsecureSkipVerify bool to allow users to prevent any certificate
validation on desired external host.

* Updated release-notes and depricate VerifyCertificateAtClient

* Update release-notes to specify changes and purpose for adding
InsecureSkipVerify and deprecating VerifyCertificateAtClient
* VerifyCertificateAtClient gets deprecated instead of only hidden

* Update release-notes area to security

* Make grammatical corrections

* Rebased and ran make gen

* Clarify release notes and documentation

* Improve documentation clarity

* Fix typo

* Make clarification edits

* Improve description of InsecureSkipVerify

* Correct documentation
2021-07-29 09:18:23 -07:00
Daniel Grimm 5e10e5cff1
Add WasmPlugin API (#1940)
* Add WasmPlugin API

* Renamed workload_selector to `selector`
* Rename signing_key -> verification_key
* Unify structure, make pull_secret a single string, config ->
pluginConfig
* add sandbox_config, plugin_name
* Update release note
* Fix typos

* Make sure to preserve unknown fields in pluginConfig

* Improve plugin_name comment

* Move selector to the top

* Remove sandbox_config

* Inline verification_key

* Improve sha256 docstring

* Improve pull_policy docstring

* Remove dependency on EnvoyFilter, add PluginPhase

* Add example

* Add example

* Address comments

* Address more comments

* Fix CRD generation

* Improve comments

* Fix examples (snake_case to camelCase)

* Review comments

- Clarify default for priority
- Add UNSPECIFIED_POLICY value
- Change sha256 behaviour
2021-07-27 14:05:57 -07:00
Douglas Reid 527b9df380
Add support to Telemetry API for metrics and access logging (#1766)
* Add alpha Telemetry API to allow metrics customization

* rebase + update

* remove telemetryrulematch and add access logging

* refactor tag overrides and address comments

* more refactoring

* updates to match comments

* remove all_metrics from API

* add metric selector with client/server terminology

* add comment for TagOverride

* Add release note

* clean up some comments

* fix oneof name

* fix release note

* address review comments

* clarify logging enablement example
2021-07-02 10:07:16 -07:00
Frank Budinsky 0ee0abf2a9
Components for remote and config cluster installations. (#2030)
* Components for remote and config cluster installations.

* regen

* revert to istiod_external

* regen

* proto.lock

* undo

* Revert "regen"

This reverts commit 1090057802.

* Revert "proto.lock"

This reverts commit 1a321e4a2f.

* regen

* update proto.lock
2021-06-22 13:21:55 -07:00
mandarjog 260a45372f
Add explicit order to patch sets. (#1975)
* Add comments about ordering

* Change to priority
2021-06-11 08:21:47 -07:00
Frank Budinsky 4f71f5a6cb
Remove istiodRemote component (#2018) 2021-06-08 08:40:05 -07:00
Kuat 4c02bf77ab
envoyfilter: add bootstrap patch (#1974)
* envoyfilter: add bootstrap patch

Signed-off-by: Kuat Yessenov <kuat@google.com>

* review

Signed-off-by: Kuat Yessenov <kuat@google.com>
2021-05-27 13:45:48 -07:00
Rama Chavali ac5140ab4e
rename field (#1994)
Signed-off-by: Rama Chavali <rama.rao@salesforce.com>
2021-05-19 06:57:33 -07:00
Rama Chavali 375754e6d4
add local origin error configuration to destination rules (#1989)
* add local origin error configuration to destination rules'

Signed-off-by: Rama Chavali <rama.rao@salesforce.com>

* add release notes

Signed-off-by: Rama Chavali <rama.rao@salesforce.com>

* fix release notes

Signed-off-by: Rama Chavali <rama.rao@salesforce.com>

* address comments

Signed-off-by: Rama Chavali <rama.rao@salesforce.com>
2021-05-17 21:28:23 -07:00
Oliver Liu f296986a5b
Security fix on URL normalization (GoldPanda). (#1982)
* Security fix on URL normalization options (GoldPanda).

* Add release notes

* Small fix.
2021-05-12 09:26:28 -07:00
Morven Cao 15c6bb524b
fix incorrect type for maxUnavailable/minAvailable of PDB. (#1952) 2021-04-25 19:29:00 -07:00
Rei Shimizu 17514f58ee
add Apache SkyWalking tracer support (#1909)
* add Apache SkyWalking support

* fix

* fix
2021-04-16 10:03:58 -07:00
Douglas Reid ad94225e0b
Use wrapper types for Tracing fields (#1934) 2021-04-02 19:16:47 -07:00
Yangmin Zhu 8d2a4ee53a
update the ext-authz extension provider and promote to alpha (#1926)
* ext-authz: promote to alpha

* address comments

* update comment

* address comments

* update

* address comments

* update comment
2021-04-01 21:22:07 -07:00
Douglas Reid 68cba41b5a
Add initial Telemetry API with Tracing support for sampling and custom tags (#1740)
* Add initial Telemetry API definition

* fix names and comments

* Rename TracingConfig to Tracing

* Remove TelemetryProviders and consolidate to just Tracing providers

* add new extension providers to oneof

* Remove providers from telemetry API

* Add release note

* Address comments

* Add back providers, remove match, simplify Trace API

* Collapse TracingRule into Tracing and remove deprecations in ProxyConfig

* Move from address to service + port in providers

* Remove exclude_mesh_tags

* Revert to boolean control of span reporting

* Cleanup documentation

* Replace subdomain with telemetry type
2021-03-25 21:01:24 -07:00
John Howard 6e9e4699ed
Validate api docs, and fix issues (#1885)
* Fix invalid examples and alpha/beta discrepencies

* gen

* license

* lint

* missing space

* gen
2021-02-17 09:30:48 -08:00
Sam Naser dee73e3940
Add default revision to operator (#1806)
* add default_revision and revision_tags to operator

* remove revision_tags from operator.proto

* add release note

* fix conflicts
2021-02-17 05:05:26 -08:00
Harvey Xia cb887ae4ac
add discoverySelectors to meshConfig (#1830)
* add discoverySelectors to meshConfig

* release notes

* add example and reference to k8s doc

* fix release note

* revise copy
2021-02-04 07:23:16 -08:00
Oliver Liu 8779b36cec
Add root configuration API. (#1848)
* Add root configuration API.

* Updates according to the feedback.

* Small update.

* Fixes.

* Add release notes.

* Rename the message.

* Small fixes on comments.

* Small fix
2021-02-03 16:36:27 -08:00
Morven Cao e51932d667
add volume and volumeMount to k8s settings. (#1812)
* add volume and volumeMount to k8s settings.

* add release note.

* rebase code.
2021-02-01 00:07:11 -08:00
John Howard 2bcca53775
Move protobuf generation/configuration to buf (#1833)
https://docs.buf.build/

Buf is the successor to https://github.com/uber/prototool which we
already use for linting.

This dramatically simplifies our Makefiles, which are both extremely
complicated and have led to numerous bugs historically, such as
https://github.com/istio/api/issues/1678.

This will make changes to the generation much simpler as well. For
example, to migrate to gogo protobuf, we will just need to change `gogo`
-> `go` in one location, rather than trying to wrangle 500 lines of
Makefiles. Additionally, its quite a bit faster - the whole proto stuff
is done in <1s now.
2021-01-28 17:47:43 -08:00
John Howard 155b39af83
Cleanup generated files that we no longer generate (#1781) 2021-01-12 18:35:10 -08:00
John Howard 0ef6f5608b
Mark port as required field for health check (#1770)
Matches Kubernetes
2021-01-12 14:25:16 -08:00
zhaohuabing 21c3bd1ba1
add destination port support for envoyfilter (#1774)
* add destination port support for envoyfilter

Signed-off-by: zhaohuabing <huabingzhao@tencent.com>

* modify the comment of destination port

We may use destination port match in other listeners in the future.

Signed-off-by: zhaohuabing <huabingzhao@tencent.com>

* make gen

Signed-off-by: zhaohuabing <huabingzhao@tencent.com>

Co-authored-by: zhaohuabing <huabingzhao@tencent.com>
2020-12-17 07:51:05 -08:00
John Howard c2df7c41fd
Cleanup mesh config docs (#1702)
Original intent was to document proxy config annotation and unhide the
proxy metadata section, which is used by many users now. On the way I
removed+reserved some dead fields and cleaned up a few comments. I can
revert the clean up if its controversial
2020-11-20 09:59:56 -08:00
stewartbutler 5f3ac92ebb
Adding HoldApplicationUntilProxyStarts to proxyconfig (#1670)
* Adding HoldApplicationUntilProxyStarts to proxyconfig

* Updating comment

* Changing description of value

* Updating description again
2020-11-11 19:33:49 -08:00
Xinnan Wen 9314e18b88
deprecate addon field from the operator (#1701)
* deprecate addon field from the operator

* add releasenote and update comment
2020-11-03 13:44:05 -08:00
Yangmin Zhu 801bb1f7f7
update CUSTOM action in AuthorizationPolicy (#1698)
* update external action API

* more generic in MeshConfig

* address comments

* more comments

* use ExternalProvider and many more updates

* use provider

* require fully qualified name in service

* add fail_open and share common settings for HTTP and GRPC

* update for extension_providers and EXTENDED action

* address comments

* make port required

* change to CUSTOM action

* fix
2020-10-27 11:32:11 -07:00
Mitch Connors e59b7fb6ed
Add observedGeneration to status (#1692)
* Add observedGeneration to status

* move to snake case

* Fix description

* Clarify comment

* Finalize comment

* Add docs link
2020-10-20 12:55:12 -07:00
Nupur Garg bc990c81b0
Add meshconfig to disable envoy listener access log (#1697)
* Add meshconfig to disable envoy listener access log

* Add Listener access log link
2020-10-19 12:06:32 -07:00
Kyle Evans d35a65ac7f
create remote_ip_blocks in Source (#1687)
* create remote_ip_blocks in Source

By adding remote_ip_blocks and not_remote_ip_blocks in Source,
an AuthorizationPolicy can trigger actions based on the original
client IP address gleaned from the X-Forwarded-For header or the
proxy protocol.

* update comment to show that ip_blocks match on IP packet source address

* make reference to numTrustedProxies in remote_ip docs

* fix URL for gateway network topology
2020-10-14 18:24:20 -07:00
Pengyuan Bian 410f0d0812
Add envoy stats inclusion matcher to proxy config (#1599)
* add envoy stats inclusion matcher to proxy config

* gen again

* wrap envoy stats options into a message

* update

* update comment

* add comment about default stats

* update comment

* fix comment
2020-10-14 10:55:12 -07:00
Yangmin Zhu ae1b3ec96a
add external action to authorization policy (#1674)
* add external action to authorization policy

* remove config for now and update comments

* use custom config that is mostly based on Envoy ext_authz with minimal changes

* fix comments
2020-10-08 15:56:29 -07:00
John Howard 19bfd18ca7
Rename Authorization Policy proto for consistency (#1671)
Every other API is named `<kind in snake case>.proto`, but authz. It is
named authorization.policy. This impacts the generated code. For
consistency, renaming it to match all of our other APIs
2020-10-04 15:55:36 -07:00
Kuat 44a8342c37
envoyfilter: add ecds option (#1652)
* add ecds option

Signed-off-by: Kuat Yessenov <kuat@google.com>

* add example

Signed-off-by: Kuat Yessenov <kuat@google.com>

* add comments

Signed-off-by: Kuat Yessenov <kuat@google.com>

* update docs

Signed-off-by: Kuat Yessenov <kuat@google.com>
2020-10-01 13:04:53 -07:00
Rama Chavali bea3ed0bae
add use client protocol option for destination rules (#1627)
* add use client protocol option for gateways

Signed-off-by: Rama Chavali <rama.rao@salesforce.com>

* fix docs

Signed-off-by: Rama Chavali <rama.rao@salesforce.com>

* docs

Signed-off-by: Rama Chavali <rama.rao@salesforce.com>

* remove gateway reference

Signed-off-by: Rama Chavali <rama.rao@salesforce.com>

* change v1alpha3

Signed-off-by: Rama Chavali <rama.rao@salesforce.com>

* clarify upgrade

Signed-off-by: Rama Chavali <rama.rao@salesforce.com>
2020-09-13 13:30:30 -07:00
Aditya Prerepa da5469b620
Add HealthCheck Config to ProxyStatus (#1620)
* add to proxyconfig

* lint

* follow k8s readiness probe exec field type

* match k8s exactly

* gen

* rename to snake case

* Update mesh/v1alpha1/proxy.proto

Co-authored-by: John Howard <howardjohn@google.com>

* fix some stuff

* lint & gen

* add to workloadgroup

* add example & comments

* make gen

Co-authored-by: John Howard <howardjohn@google.com>
2020-09-10 08:48:33 -07:00
Pengyuan Bian 701568332f
remove policy and telemetry component from operator API (#1611) 2020-08-28 16:00:38 -07:00
Khoa Hoàng 99a2564337
Added MeshConfig for Custom External CA (#1596)
* Add MeshConfig for CustomCA

* Update document
2020-08-26 19:14:12 -07:00
Brian Wolfe c78f387f78
tracing: remove uncommonly-used tuning configs (#1591)
These configurations were added to be consistent with Stackdriver and
provide extra performance tuning for OpenCensus. These are unlikely to
be used in production. Tuning should probably be performed by Istio
developers instead. We can remove the options for now.

This was triggered by a conversation at the end of the previous CL
merge: https://github.com/istio/api/pull/1563
Change-Id: Iab148ff87dfe5b1772d3cdf2a009ec9cf4ea0f27
Reviewed-on: https://gerrit.musta.ch/c/public/istio-api/+/596
Reviewed-by: Jungho Ahn <jungho.ahn@airbnb.com>
Reviewed-by: Ying Zhu <ying.zhu@airbnb.com>
2020-08-19 15:59:23 -07:00
Navraj Singh Chhina c60647764a
Add VerifyCertificateAtClient to MeshConfig (#1585)
* add meshconfig field

* rename field

* change name

* add detailed comment

* address comments

* change to boolvalue wrapper

* proto commit

* change name again

* add comment for SAN matching

* fix comment

* use concise documentation
2020-08-14 14:43:30 -07:00