Aleksandr Melnikov
f99260fa93
Refactored DeleteSecret.
2020-02-06 14:37:43 -08:00
Aleksandr Melnikov
525b83b77b
Refactoring GetSecret.
2020-02-06 14:30:44 -08:00
Aleksandr Melnikov
f0e8be6881
Refactoring SecretExists.
...
- Moving logic into manager from kube/secret.go
2020-02-06 12:21:33 -08:00
Aleksandr Melnikov
8ed80c505f
Refactored UpdateSecretKeyValue.
2020-02-06 10:45:51 -08:00
rushtehrani
c05eadf867
ListSecrets refactor
2020-02-06 10:05:07 -08:00
Aleksandr Melnikov
4baf3b9309
Refactoring ListSecrets.
2020-02-06 09:56:23 -08:00
Aleksandr Melnikov
74fcbbdfc3
Revert "Moving logic from kube/secret.go to manager."
...
This reverts commit d42d4bc26a .
- Per feedback, original was fine.
2020-02-06 09:34:22 -08:00
Aleksandr Melnikov
d42d4bc26a
Moving logic from kube/secret.go to manager.
2020-02-06 09:18:24 -08:00
Aleksandr Melnikov
beefb6b1a9
Refactoring error checking to use errors.As method.
2020-02-05 16:17:15 -08:00
Aleksandr Melnikov
d953c751e5
Updating to check if the secretFound is actually not-nil.
...
- If it's nil, secret was not found.
2020-02-05 16:12:07 -08:00
Aleksandr Melnikov
18a96bed35
Changing []model.Secret to []*model.Secret
...
- Updating related code.
2020-02-05 14:48:28 -08:00
Aleksandr Melnikov
c8b4972b16
Refactoring secretName to name.
2020-02-05 14:46:08 -08:00
Aleksandr Melnikov
40409b8027
Cleaning up some rebase artifacts.
2020-02-05 13:18:30 -08:00
Aleksandr Melnikov
27f1a54968
Renaming GetSecrets to ListSecrets.
2020-02-05 13:14:40 -08:00
Aleksandr Melnikov
f2cde31a27
Refactored apiv1.secret to use model.secret
2020-02-05 13:14:26 -08:00
Aleksandr Melnikov
6d0c6e96b7
Added API Calls:
...
- AddSecretKeyValue
This allows you to add a key value to a secret.
Example: You can add "typeOfData" key, value "bytes" to secret "default",
namespace "default".
- UpdateSecretKeyValue
You can update "typeOfData" key with value "bits".
2020-02-05 13:13:42 -08:00
Aleksandr Melnikov
9883b24b7f
Added DeleteSecretKey api call.
...
- This allows the deletion of a specific key from a secret.
2020-02-05 13:13:02 -08:00
Aleksandr Melnikov
812c9a174d
Adding DeleteSecret api call.
2020-02-05 13:12:23 -08:00
Aleksandr Melnikov
168c73ee37
Added GetSecrets api call.
...
- Returns a collection of Secret type.
2020-02-05 13:11:40 -08:00
Aleksandr Melnikov
bf929e2f45
Added GetSecret api call.
...
- Returns a secrets data and name.
2020-02-05 13:10:33 -08:00
Aleksandr Melnikov
086566ce14
Added API Path to check if a secret exists in a given namespace.
2020-02-05 13:08:58 -08:00
rushtehrani
8aed868ade
use models in kube to be consistent with repositories
2020-01-31 17:04:14 -08:00
rushtehrani
b102709d6f
grab s3 config from ns scoped configmap/secret
2020-01-27 15:53:34 -08:00
rushtehrani
a9e93a1111
add configMap methods and testing
2020-01-26 15:04:13 -08:00
rushtehrani
32e8b51251
support kubernetes secret creation
2020-01-07 16:38:52 -08:00