Remove a couple of todos that will be resolved in Slack conversations
This commit is contained in:
parent
c320132289
commit
6ed9107df0
@ -30,7 +30,7 @@ const (
|
|||||||
|
|
||||||
ErrSecretTypeMismatch = constable.Error("secret storage data has incorrect type")
|
ErrSecretTypeMismatch = constable.Error("secret storage data has incorrect type")
|
||||||
ErrSecretLabelMismatch = constable.Error("secret storage data has incorrect label")
|
ErrSecretLabelMismatch = constable.Error("secret storage data has incorrect label")
|
||||||
ErrSecretVersionMismatch = constable.Error("secret storage data has incorrect version") // TODO do we need this?
|
ErrSecretVersionMismatch = constable.Error("secret storage data has incorrect version")
|
||||||
)
|
)
|
||||||
|
|
||||||
type Storage interface {
|
type Storage interface {
|
||||||
@ -139,7 +139,7 @@ func (s *secretsStorage) toSecret(signature, resourceVersion string, data JSON)
|
|||||||
Labels: map[string]string{
|
Labels: map[string]string{
|
||||||
secretLabelKey: s.resource, // make it easier to find this stuff via kubectl
|
secretLabelKey: s.resource, // make it easier to find this stuff via kubectl
|
||||||
},
|
},
|
||||||
OwnerReferences: nil, // TODO we should set this to make sure stuff gets clean up
|
OwnerReferences: nil,
|
||||||
},
|
},
|
||||||
Data: map[string][]byte{
|
Data: map[string][]byte{
|
||||||
secretDataKey: buf,
|
secretDataKey: buf,
|
||||||
|
Loading…
Reference in New Issue
Block a user