Commit 286b2d7
Pan feedback (#22)
* feat(storetypes): Adding new storetypes `K8SNamespace` and `K8SCluster`
* feat(storetype): Added `K8SPFX` and `K8SPKCS12` storetypes
feat(inventory): Inventory supports K8S opaque secrets w/ keys `p12`, `pfx`, `pkcs12` sourcing password from `password` field on same secret.
* feat(storetype): K8SCluster store type is now available for inventory
feat(storetype): K8SNS store type is now available for inventory
* feat(management): Management add and remove now work for store types K8SCluster and K8SNS
* feat: K8SPKCS12 storetypes now support companion K8S secrets
feat(discovery): K8SPKCS12 store types support discovery.
feat(management): K8SPKCS12 store types now support add and remove.
* feat(inventory): `K8SPKCS12` now supports field name extensions. ex: `myhost.pkcs12`
fix(inventory): `K8SPKCS12` now uses correct store password hierarchy.
fix(management): `K8SPKCS12` add/remove now add and remove into existing pkcs12 stores.
* fix(discovery): `K8SPKCS12` now support use of extensions field
chore(docs): Updated docs for `K8SPKCS12`. Field name changes required!.
* Update generated README
* fix: Adding tests back so build passes
* feat(discovery): `K8SJKS` discovery support.
* feat(inventory): `K8SJKS` inventory initial support
* fix(discovery): JKS and PKCS12 discovery added additional logging for allowed keys check.
fix(management): PKCS12 logs actually indicate PKCS12.
* fix(storetypes): `K8SJKS` now inventories legacy JKS file types properly.
chore(deps): Upgraded to `net6.0`
* chore(scripts): Adding scripts relevant to creating JKS files.
* fix(inventory): `K8SJKS` inventory now works properly with attached and remote K8S passwords, and now supports implied namespace when specifying `StorePasswordPath`
* fix(inventory): KubeSecretType parameters are now case insensitive.
* feat(management): `K8SJKS` now support add and remove, but require custom alias `k8s_field_name/alias`.
* fix(discovery): `K8SJKS` case issue.
chore(docs): Update `K8SJKS` docs with storepath and alias patterns.
* Update generated README
* fix(inventory): `K8SPKCS12` storetype now uses custom alias to support multiple PKCS12 on a single K8S secret.
* fix(inventory): `K8SJKS` & `K8SPKCS12` storetypes now fail when the secret isn't found.
fix(management): `K8SPKCS12` storetypes now preserve additional secret fields if they exist.
* fix(inventory): K8SPKCS12 stores don't use CN as alias.
fix(management): K8SPKCS12 add/remove operations now don't fail when the K8S secret doesn't exist.
* fix(management): K8SJKS stores now preserve existing secret data if it exists.
* fix(management): K8SJKS stores handle secrets w/o existing fields.
fix(management): K8SJKS & K8SPKCS12 stores pass chain properly back to Command.
* fix(inventory): `K8STLCSECR`, `K8SSECRET`, `K8SCLUSTER` stores now read and pass full chain back to Command.
chore: linting
* Update generated README
* fix(inventory): `K8SSECRET` and `K8STLSSECR` now return cert chains back to Command.
fix(management): `K8SSECRET` and `K8STLSSECR` now deploy cert chains back to the K8S secrets.
chore(docs): Update docs with notes on managing `K8SSECRET` and `K8STLSSECR` stores.
* Update generated README
* fix(discovery): `K8SJKS` and `K8SPKCS12` no longer try to check if data is valid pkcs12 or jks file.
* chore(docs): Adding screenshots around cluster secrets
* Update generated README
* chore(logging): Added some verbose logging around handling `K8SJKS` stores.
* fix(management): `K8SCLUSTER`, `K8STLSSECR`, `K8SSECRET` stores now have option to use a separate field for chain: `ca.crt`. This defaults to `false`.
* chore(docs): Store type definitions now allow for `SeparateChain` which defaults to `false`. This means the field `ca.crt` will not be used for `opaque` and `tls` secrets.
* Update generated README
* fix(inventory): `K8SJKS` stores that are actually `PKCS12` format inventory chain properly.
* fix(management): `K8SJKS` management for jks of type `PKCS12`
* fix(inventory): `K8SPKCS12` stores inventory properly after allowing `allowedKeys` to be passed.
fix(inventory): `K8STLSSECR` & `K8SSECRET` stores now return empty inventory and a warning if secret is not found in k8s.
* fix(manifest): Revert manifest changes to storetypes.
* chore(docs): Adding some general info around K8SPKCS12 stores.
chore(docs): Updated manifest to reflect production ready.
* Update generated README
* chore(docs): JKS and PKCS12 secret key verbiage clarification.
* Update generated README
* chore: [skip ci] Comment out autochangelog workflow.
* [skip ci]
chore(lint): Remove irrelevant TODOs and add license header.
* [skip ci]
chore(docs): Fix `CHANGELOG` formatting.
* chore(docs): Added missing descriptions for `IncludeCertChain` and `SeparateChain`.
chore(docs): Removed `required` status from `KubeSecretName` and `KubeNamespace` to allow implication via storepath.
chore(manifest): Updated storetype definitions with latest configurations.
chore(docs): Updated stale screenshots w/o `Needs Server` checked.
* Update generated README
* fix(ci): Adding missing workflow for storetype merge.
* chore: Fix CHANGELOG.md version
[skip ci]
* update changelog version
---------
Co-authored-by: Keyfactor <[email protected]>
Co-authored-by: Michael Henderson <[email protected]>1 parent 2468556 commit 286b2d7
File tree
47 files changed
+6001
-2056
lines changed- .github/workflows
- TestConsole
- terraform
- docs/screenshots
- management
- store_types
- kubernetes-orchestrator-extension
- Clients
- Jobs
- Models
- StoreTypes
- K8SJKS
- K8SPKCS12
- scripts/jks
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
47 files changed
+6001
-2056
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments