Commit Graph

18 Commits

Author SHA1 Message Date
Justin Santa Barbara c121e7f14e Create lifecycle test against AWS mocks
We create a cluster, run kops update, then run kops update again.  We
expect no changes on the second update.
2018-03-11 17:04:30 -04:00
Justin Santa Barbara f8c57c2f57 Move ssh key functions to pkg/pki
Preparation for reuse by the roundtrip mock tests.
2018-03-11 13:20:08 -04:00
Justin Santa Barbara f7b7fed125 Reduce log levels: parsing pem block
These messages are not very useful, even for v=8
2018-03-10 16:15:07 -05:00
k8s-ci-robot 1c75f47510
Merge pull request #4526 from mad01/custom-ca
custom ca new implementation of #2924
2018-03-01 12:52:28 -08:00
Alexander Brandstedt 62ab65e8e3 implementation custom ca cert and key #2924
- implementing as new subcommand keypair to secret
- rename of LoadPEMCertificate to ParsePEMCertificate to have
  the same naming of parsing of certificate/private key bytes in
  the same package result is
    pki.ParsePEMPrivateKey(privateKeyBytes)
    pki.ParsePEMCertificate(certBytes)
2018-03-01 09:50:04 +01:00
k8s-ci-robot b6fc32171e
Merge pull request #4354 from snelson-pp/increase-generated-cert-bits
Increase key size in GeneratePrivateKey() to 3072
2018-02-28 13:03:47 -08:00
Stephen Nelson 6cc046f96c Added test for environment variable overriding of private key size 2018-02-26 14:35:44 -08:00
Mike Splain 45a57915e2 Fix bazel deprecation notice 2018-02-26 09:36:13 -05:00
Stephen Nelson 5ef58e3b57 Make key size determined by environment variable RSA_PRIVATE_KEY_SIZE 2018-02-20 18:58:36 -08:00
Stephen Nelson 6f2baeb5f4 Increase key size in GeneratePrivateKey() to 3072 2018-01-29 16:46:04 -08:00
Blake 0450d08c0b bazel 0.9.0 running `make bazel-build` updates 2018-01-18 13:26:27 -08:00
Justin Santa Barbara 8c23031561 Add roundtrip tests for certs & private keys
Travis should cover all our supported go versions.
2017-12-29 21:18:29 -05:00
chrislovecnm 609e268a1d gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
chrislovecnm 1e418c3e13 more goimport updates 2017-11-04 10:03:02 -06:00
chrislovecnm 4711d1596e update to imports that apimachinery is doing now automatically 2017-10-27 14:28:48 -06:00
Justin Santa Barbara a879521ba3 Initial aggregation support
Create the keypairs, which are supposed to be signed by a different CA.

Set the `--requestheader-...` flags on apiserver.

Fix #3152
Fix #2691
2017-10-22 14:41:38 -04:00
Justin Santa Barbara 0143be7c4f autogen: BUILD and BUILD.bazel 2017-10-02 14:27:21 -04:00
Justin Santa Barbara a16c8b1500 Refactor PKI classes into their own package
This will support generation of keys on the node.
2017-08-27 08:14:55 -04:00