Commit Graph

37 Commits

Author SHA1 Message Date
Rodrigo Menezes 157df7052c Move from debian-hyperkube-base to debian-base for node-authorizer 2020-08-27 23:18:25 +03:00
Kubernetes Prow Robot b532a60917
Merge pull request #9056 from michalschott/node-authorizer-scratch
Changing base image for node authorizer.
2020-07-07 08:49:58 -07:00
John Gardiner Myers b51895e548 Fix staticcheck error with Go 1.14 2020-06-23 16:05:04 -07:00
Michal Schott 172cd321fb
Adding required certs. 2020-05-04 15:25:03 +02:00
Michal Schott 3af561bb8d
Changing base image for node authorizer. 2020-05-04 12:34:06 +02:00
Justin Santa Barbara 31bb16d4d1 Add context.Context to most signatures
The client-go signature for most methods adds a context.Context
object, and also makes Options mandatory.  Feed through a
context.Context through many of our methods (but use context.TODO to
stop it getting totally out of hand!)
2020-04-11 14:44:17 -04:00
Ciprian Hacman 55aeafb9c3 Fix node-authorizer/pkg/server staticcheck failure 2020-02-28 09:38:42 +02:00
Justin Santa Barbara 2a2e884db0
Replace deprecated/removed prometheus metrics methods 2020-01-17 06:35:21 -05:00
John Gardiner Myers 00abe3af7e Fix node-authorizer/pkg/authorizers/aws staticcheck failure 2019-12-29 15:54:50 -08:00
tanjunchen 9f4123318b upgrade the time api 2019-11-11 15:50:37 +08:00
tanjunchen d6db19ed20 fix-up staticcheck problems 2019-10-29 13:54:27 +08:00
Kubernetes Prow Robot 43aa68ace0
Merge pull request #7704 from tanjunchen/perfect-document
fix-up some spelling mistakes
2019-09-29 20:59:36 -07:00
tanjunchen 7f64de4c34 fix-up some spelling mistakes 2019-09-29 21:45:47 +08:00
Peter Rifel da6063baed Use config parameter if it is provided 2019-09-27 12:51:19 -07:00
Peter Rifel 413580f13f aws sdk - replace deprecated session.New with session.NewSession 2019-09-27 12:51:19 -07:00
mikesplain 9e55b8230a Update copyright notices
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
ethan 413e3c8ccf
cleanup: client.go error message words correction
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-08-10 17:18:44 +08:00
Kashif Saadat 3bfef56ed3 Fix typo on node-authorizer prometheus metric 2019-05-30 15:32:28 +01:00
Justin SB de581b1b64
Switch to golang 1.11.5
For cherry-picking to 1.13

https://github.com/kubernetes/kubernetes/blob/release-1.13/build/build-image/cross/Dockerfile
2019-04-20 17:36:56 -04:00
Derek Lemon -T (delemon - AEROTEK INC at Cisco) 4f0169bb79 codegen 2019-01-16 09:30:40 -07:00
Justin SB 26bd75aecb
Bulk spelling fixes
Experimenting with my own spelling checker, these are the typos it caught.
2018-12-20 17:43:56 -05:00
Rohith a907550e0b Node Authorizer Recovery Middleware
- adding a recovery middles to capture panics
2018-11-20 13:55:26 +00:00
mooncake 364834107e Fix some typos
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-11-06 23:43:29 +08:00
Rohith 8746f9327f - fixing up the naming kubecfg -> kubeconfig 2018-10-03 11:59:29 +01:00
Rohith aa700961b5 - fixing up the prometheus metrics annotation to indicates a https scheme 2018-10-03 11:39:35 +01:00
Rohith 2ce1df88cc - fixing the logging message, variable were wrong way around 2018-10-03 11:39:35 +01:00
Rohith 97dc2beb71 Node Authorizer Client Fix
- fixing up the client for reboots ... somewhat of a oversight on my part :-)
- added the reason to the node denial message
2018-10-03 11:39:35 +01:00
Rohith 90c48a76c3 - fixing the bazel issue (missing out the file)
- fixing the spelling mistake
2018-09-27 10:29:16 +01:00
Rohith 8401273b06 - fixing the reference to the import, goimports made an error
- updating the version of the node-authorizer manifest
2018-09-27 10:21:10 +01:00
Rohith d784db094a - removing the liveness and readiness probes for now until i figure a better way of performing the rollout while not getting hit by the cluster validation code.
perhaps we could add a label no the master and control the deployment of the daemonset via the label.
2018-09-26 23:05:13 +01:00
Rohith 8c11ecf108 - adding the waitForCertificates method to wait for the certificates to arrive (this fixes the rollout on a in-place cluster) 2018-09-25 19:24:27 +01:00
AdamDang e6841b5ddc
Update server.go 2018-09-21 18:31:47 +08:00
Rohith 92115b2341 - dropping the specific flags and using a genenic --feature gate model for the authorizers, meaning i don't need to come back to the API whenever we want to make changes 2018-07-06 20:15:18 +01:00
Rohith fd6cef8180 Requested Changes
- switching to using code rather than a template for the systemd unit creation as requested in review
- as part of the review, changing the name of the ca from tls-ca to tls-client-ca
- changing the api from DisableAddressCheck to EnableAddressCheck and defaulting to true if no set
- fixing up the test for node-authorizer and shifting the parsing of the certificates as suggested in reviews to a method
2018-07-06 20:14:35 +01:00
Rohith 7911999a29 Request Changes
- making the requested changes to the node-authorizer
2018-07-06 20:14:35 +01:00
Rohith 79cff25eb4 - fixing up on the comments raised by on the review 2018-07-06 20:14:35 +01:00
Rohith 528117b631 - adding the node authorization service into kops
- updated the Makefile to build the image (i think)
2018-07-06 20:14:35 +01:00