Commit Graph

15397 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
b383035ca3 Merge pull request #108810 from enj/enj/i/create_token_duration
kubectl create token: use duration instead of expiration seconds
2022-03-18 16:05:56 -07:00
Kubernetes Prow Robot
b9817c801b Merge pull request #108616 from margocrawf/delete-execcredential-v1alpha1
Remove v1alpha1 of the execcredential
2022-03-18 13:57:56 -07:00
Monis Khan
6b9d556c9d kubectl create token: use duration instead of expiration seconds
Expiration seconds is great for an unambiguous REST API.  It it not
a great input for a command line meant to be used by humans.

Signed-off-by: Monis Khan <mok@vmware.com>
2022-03-18 16:11:13 -04:00
Kubernetes Prow Robot
cd6af9e64b Merge pull request #106155 from enj/enj/i/webhook_rest_config
webhook: use rest.Config instead of kubeconfig file as input
2022-03-18 12:23:56 -07:00
Kubernetes Prow Robot
afbe293539 Merge pull request #108506 from jlsong01/fix_kubectl_ingress_default_backend
fix kubectl describe ingress shows default-backend:80 when no default…
2022-03-18 10:58:53 -07:00
Kubernetes Prow Robot
f87e37c337 Merge pull request #108271 from kkkkun/sort-kubectl-output-format
sort kubectl get output format
2022-03-18 10:58:41 -07:00
Margo Crawford
38cbe6d7fe Generated code for deleting exec credential v1alpha1 api
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-18 10:16:58 -07:00
Margo Crawford
5b690b44d0 Remove v1alpha1 of the execcredential
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-18 10:16:11 -07:00
Kubernetes Prow Robot
b0c435c8c4 Merge pull request #108772 from aojea/user_agent
client-go: default user agent if empty
2022-03-17 19:07:39 -07:00
Monis Khan
fef7d0ef1e webhook: use rest.Config instead of kubeconfig file as input
This change updates the generic webhook logic to use a rest.Config
as its input instead of a kubeconfig file.  This exposes all of the
rest.Config knobs to the caller instead of the more limited set
available through the kubeconfig format.  This is useful when this
code is being used as a library outside of core Kubernetes. For
example, a downstream consumer may want to override the webhook's
internals such as its TLS configuration.

Signed-off-by: Monis Khan <mok@vmware.com>
2022-03-17 20:47:42 -04:00
Antonio Ojea
1d5ad2264c client-go: update generated 2022-03-17 16:21:51 +01:00
Antonio Ojea
c732bb8348 default kubernetes agent for generated clients
Set default kubernetes agent if empty
2022-03-17 16:21:45 +01:00
Kubernetes Prow Robot
a504daa048 Merge pull request #108441 from pacoxu/pod-overload-ga
mark PodOverhead to GA in v1.24; remove in v1.26
2022-03-17 06:33:22 -07:00
Kubernetes Prow Robot
dd2596e40d Merge pull request #108611 from divyenpatel/add-csi-topology-translation-for-in-tree-vSphere-volumes
topology translation of in-tree vSphere volume to vSphere CSI
2022-03-17 02:29:19 -07:00
Kubernetes Prow Robot
41b29e6542 Merge pull request #99287 from anfernee/clientip
Add HNS Load Balancer Healthchecks for ExternalTrafficPolicy: Local
2022-03-16 22:57:18 -07:00
Kubernetes Prow Robot
b4d53c2614 Merge pull request #108646 from cici37/context
Wire in request context
2022-03-16 20:21:22 -07:00
Paco Xu
acd696266e mark PodOverhead to GA in v1.24; remove in v1.26 2022-03-17 09:30:14 +08:00
Kubernetes Prow Robot
b195a64d45 Merge pull request #108644 from Jefftree/googleapis-gnostic
googleapis/gnostic -> google/gnostic and update kube-openapi
2022-03-16 15:14:10 -07:00
cici37
b3851d4115 Wire in request context 2022-03-16 14:14:53 -07:00
Kubernetes Prow Robot
1d7599b56c Merge pull request #108419 from DangerOnTheRanger/cel-maxlength-integration
CEL MaxLength integration
2022-03-16 13:50:11 -07:00
Kubernetes Prow Robot
17dcac276a Merge pull request #108695 from cici37/errMessage
short circuit remaining validation rules if one exceeds its per-cost limit
2022-03-16 12:36:22 -07:00
Kubernetes Prow Robot
9cb9a29f34 Merge pull request #108731 from mborsz/revert-105585-improvement-volume-health
Revert "add volume kubelet_volume_stats_health_abnormal to kubelet"
2022-03-16 09:15:16 -07:00
Kubernetes Prow Robot
3a4064c5c8 Merge pull request #108359 from ArangoGutierrez/devel/108355
Fix logging statement with missing parameter
2022-03-16 06:31:49 -07:00
Maciej Borsz
aa95513982 Revert "add volume kubelet_volume_stats_health_abnormal to kubelet" 2022-03-16 13:44:09 +01:00
Jefftree
8a1d5947ad googleapis/gnostic -> google/gnostic 2022-03-15 20:44:03 -07:00
Kubernetes Prow Robot
5ea2615609 Merge pull request #108639 from jiahuif-forks/feature/openapi/node-condition-type-non-enum
remove enum markers on types without validation
2022-03-15 19:49:48 -07:00
cici37
ed03e0955c Fix err handling due to cel update 2022-03-15 19:49:31 -07:00
Kubernetes Prow Robot
162f8d5bac Merge pull request #108394 from ialidzhikov/cleanup/warningheaders
Remove the WarningHeaders feature gate
2022-03-15 16:09:48 -07:00
Kermit Alexander
83e4d192b1 Add maxLength/maxItems/maxProperties support to cel.Compile. 2022-03-15 21:39:36 +00:00
Kubernetes Prow Robot
096cd9df63 Merge pull request #108699 from xing-yang/update_owners
Update sig-storage owners files
2022-03-15 14:28:00 -07:00
Kubernetes Prow Robot
6224458dc2 Merge pull request #108448 from ialidzhikov/cleanup/deserialization-cache-size
apiserver: Remove the deprecated `--deserialization-cache-size` flag
2022-03-15 14:27:48 -07:00
Kubernetes Prow Robot
1a5abe5d1f Merge pull request #105585 from fengzixu/improvement-volume-health
add volume kubelet_volume_stats_health_abnormal to kubelet
2022-03-15 05:58:11 -07:00
Kubernetes Prow Robot
4bca479dfb Merge pull request #108595 from cici37/updateLimit
Update CEL runtime cost limit
2022-03-15 04:00:11 -07:00
Kubernetes Prow Robot
226a76235a Merge pull request #108620 from kevindelgado/query-param-verifier
Generalize Query Param Verifier
2022-03-14 18:50:09 -07:00
cici37
31677520f3 Update cost budget 2022-03-14 15:11:12 -07:00
Kubernetes Prow Robot
866e42310d Merge pull request #108482 from cici37/vendorCEL
Add CEL runtime cost into CR validation
2022-03-14 14:23:12 -07:00
Jiahui Feng
40e1b6b411 polish comments of non-enum values.
types: PodConditionType, NodeConditionType
2022-03-14 13:45:11 -07:00
Kubernetes Prow Robot
64d137ae0a Merge pull request #108685 from cpanato/update-publish
Update publishing-bot rules for Go 1.17.8 / 1.16.15
2022-03-14 13:03:34 -07:00
Kubernetes Prow Robot
7f1907c4c6 Merge pull request #108561 from RomanBednar/btrfs-resize
mount-utils: Add support for btrfs resize
2022-03-14 13:03:22 -07:00
xing-yang
aae1f2c476 Update sig-storage owners file 2022-03-14 18:57:52 +00:00
cici37
6b2907be8c Wire runtime cost into validation. 2022-03-14 11:54:52 -07:00
Kubernetes Prow Robot
faa027ca2b Merge pull request #108214 from stevekuznetsov/skuznets/lease-manager-fix
storage: etcd: clarify lease manager configurations
2022-03-14 11:35:14 -07:00
Kubernetes Prow Robot
5b52c4d127 Merge pull request #107674 from sanposhiho/api-min-domains
Add MinDomains API to TopologySpreadConstraints field
2022-03-14 09:33:57 -07:00
cpanato
1ef8e9a0b4 Update publishing-bot rules for Go 1.17.8 / 1.16.15
Signed-off-by: cpanato <ctadeu@gmail.com>
2022-03-14 10:17:26 +01:00
Yongkun Gui
78a507b256 Fix health check from Google's Load Balancer
This change adds 2 options for windows:
--forward-healthcheck-vip: If true forward service VIP for health check
port
--root-hnsendpoint-name: The name of the hns endpoint name for root
namespace attached to l2bridge, default is cbr0

When --forward-healthcheck-vip is set as true and winkernel is used,
kube-proxy will add an hns load balancer to forward health check request
that was sent to lb_vip:healthcheck_port to the node_ip:healthcheck_port.
Without this forwarding, the health check from google load balancer will
fail, and it will stop forwarding traffic to the windows node.

This change fixes the following 2 cases for service:
- `externalTrafficPolicy: Cluster` (default option): healthcheck_port is
10256 for all services. Without this fix, all traffic won't be directly
forwarded to windows node. It will always go through a linux node and
get forwarded to windows from there.
- `externalTrafficPolicy: Local`: different healthcheck_port for each
service that is configured as local. Without this fix, this feature
won't work on windows node at all. This feature preserves client ip
that tries to connect to their application running in windows pod.

Change-Id: If4513e72900101ef70d86b91155e56a1f8c79719
2022-03-11 22:34:59 -08:00
Divyen Patel
bd7f083000 topology translation for vSphere CSI 2022-03-11 10:30:11 -08:00
Jiahui Feng
f0d73cf650 unmark non-validated types as enums. 2022-03-11 10:00:00 -08:00
Kubernetes Prow Robot
9d512581b8 Merge pull request #108643 from liggitt/cobra
Update cobra to v1.4.0
2022-03-10 19:23:08 -08:00
cici37
7572b26fba Bump cel-go to v0.10.1 2022-03-10 14:50:35 -08:00
Jordan Liggitt
60b9af476f Update cobra to v1.4.0 2022-03-10 16:19:43 -05:00