You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this is a bug or I'm missing something basic.
I've used isopod to s=kube.get(secret=...) and I can print the secret and it has all the correct information. However, if I try to print s.type I get a panic:
The protobuf code has the type field there though:
// Secret holds secret data of a certain type. The total bytes of the values in
// the Data field must be less than MaxSecretSize bytes.
message Secret {
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
...
...
// Used to facilitate programmatic handling of secret data.
// +optional
optional string type = 3;
}
I feel like I must be missing something? Any help would be appreciated as I'm new to trying to utilize the protobuf code. Its mostly unnecessary for my use-case but I really wanted to utilize the kube built-ins you wrote. If you have a suggestion there I'd be open to it. It seemed difficult to pull out the kube built-ins on their own.
The text was updated successfully, but these errors were encountered:
I'm not sure if this is a bug or I'm missing something basic.
I've used isopod to
s=kube.get(secret=...)
and I can print the secret and it has all the correct information. However, if I try to prints.type
I get a panic:The protobuf code has the type field there though:
I feel like I must be missing something? Any help would be appreciated as I'm new to trying to utilize the protobuf code. Its mostly unnecessary for my use-case but I really wanted to utilize the
kube
built-ins you wrote. If you have a suggestion there I'd be open to it. It seemed difficult to pull out thekube
built-ins on their own.The text was updated successfully, but these errors were encountered: