Package io.kubernetes.client.proto
Class V1.ServiceAccount.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
io.kubernetes.client.proto.V1.ServiceAccount.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1.ServiceAccountOrBuilder,Cloneable
- Enclosing class:
- V1.ServiceAccount
public static final class V1.ServiceAccount.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
implements V1.ServiceAccountOrBuilder
ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secretsProtobuf type
k8s.io.api.core.v1.ServiceAccount-
Method Summary
Modifier and TypeMethodDescriptionaddAllImagePullSecrets(Iterable<? extends V1.LocalObjectReference> values) ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.addAllSecrets(Iterable<? extends V1.ObjectReference> values) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.addImagePullSecrets(int index, V1.LocalObjectReference value) ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.addImagePullSecrets(int index, V1.LocalObjectReference.Builder builderForValue) ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.addImagePullSecrets(V1.LocalObjectReference.Builder builderForValue) ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.addImagePullSecretsBuilder(int index) ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addSecrets(int index, V1.ObjectReference value) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.addSecrets(int index, V1.ObjectReference.Builder builderForValue) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.addSecrets(V1.ObjectReference value) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.addSecrets(V1.ObjectReference.Builder builderForValue) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.addSecretsBuilder(int index) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.build()clear()AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.Standard object's metadata.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.clone()booleanAutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetImagePullSecrets(int index) ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.getImagePullSecretsBuilder(int index) ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.intImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.getImagePullSecretsOrBuilder(int index) ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.List<? extends V1.LocalObjectReferenceOrBuilder>ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.Standard object's metadata.Standard object's metadata.Standard object's metadata.getSecrets(int index) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.getSecretsBuilder(int index) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.intSecrets is the list of secrets allowed to be used by pods running using this ServiceAccount.Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.getSecretsOrBuilder(int index) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.List<? extends V1.ObjectReferenceOrBuilder>Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.booleanAutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.booleanStandard object's metadata.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(V1.ServiceAccount other) mergeMetadata(Meta.ObjectMeta value) Standard object's metadata.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeImagePullSecrets(int index) ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.removeSecrets(int index) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.setAutomountServiceAccountToken(boolean value) AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.setImagePullSecrets(int index, V1.LocalObjectReference value) ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.setImagePullSecrets(int index, V1.LocalObjectReference.Builder builderForValue) ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.setMetadata(Meta.ObjectMeta value) Standard object's metadata.setMetadata(Meta.ObjectMeta.Builder builderForValue) Standard object's metadata.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSecrets(int index, V1.ObjectReference value) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.setSecrets(int index, V1.ObjectReference.Builder builderForValue) Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
-
setField
public V1.ServiceAccount.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
-
setRepeatedField
public V1.ServiceAccount.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
-
addRepeatedField
public V1.ServiceAccount.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1.ServiceAccount.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
-
mergeFrom
public V1.ServiceAccount.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1.ServiceAccount.Builder>- Throws:
IOException
-
hasMetadata
public boolean hasMetadata()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;- Specified by:
hasMetadatain interfaceV1.ServiceAccountOrBuilder
-
getMetadata
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;- Specified by:
getMetadatain interfaceV1.ServiceAccountOrBuilder
-
setMetadata
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; -
setMetadata
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; -
mergeMetadata
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; -
clearMetadata
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; -
getMetadataBuilder
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; -
getMetadataOrBuilder
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;- Specified by:
getMetadataOrBuilderin interfaceV1.ServiceAccountOrBuilder
-
getSecretsList
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;- Specified by:
getSecretsListin interfaceV1.ServiceAccountOrBuilder
-
getSecretsCount
public int getSecretsCount()Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;- Specified by:
getSecretsCountin interfaceV1.ServiceAccountOrBuilder
-
getSecrets
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;- Specified by:
getSecretsin interfaceV1.ServiceAccountOrBuilder
-
setSecrets
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2; -
setSecrets
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2; -
addSecrets
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2; -
addSecrets
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2; -
addSecrets
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2; -
addSecrets
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2; -
addAllSecrets
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2; -
clearSecrets
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2; -
removeSecrets
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2; -
getSecretsBuilder
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2; -
getSecretsOrBuilder
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;- Specified by:
getSecretsOrBuilderin interfaceV1.ServiceAccountOrBuilder
-
getSecretsOrBuilderList
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2;- Specified by:
getSecretsOrBuilderListin interfaceV1.ServiceAccountOrBuilder
-
addSecretsBuilder
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2; -
addSecretsBuilder
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2; -
getSecretsBuilderList
Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.core.v1.ObjectReference secrets = 2; -
getImagePullSecretsList
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;- Specified by:
getImagePullSecretsListin interfaceV1.ServiceAccountOrBuilder
-
getImagePullSecretsCount
public int getImagePullSecretsCount()ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;- Specified by:
getImagePullSecretsCountin interfaceV1.ServiceAccountOrBuilder
-
getImagePullSecrets
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;- Specified by:
getImagePullSecretsin interfaceV1.ServiceAccountOrBuilder
-
setImagePullSecrets
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3; -
setImagePullSecrets
public V1.ServiceAccount.Builder setImagePullSecrets(int index, V1.LocalObjectReference.Builder builderForValue) ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3; -
addImagePullSecrets
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3; -
addImagePullSecrets
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3; -
addImagePullSecrets
public V1.ServiceAccount.Builder addImagePullSecrets(V1.LocalObjectReference.Builder builderForValue) ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3; -
addImagePullSecrets
public V1.ServiceAccount.Builder addImagePullSecrets(int index, V1.LocalObjectReference.Builder builderForValue) ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3; -
addAllImagePullSecrets
public V1.ServiceAccount.Builder addAllImagePullSecrets(Iterable<? extends V1.LocalObjectReference> values) ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3; -
clearImagePullSecrets
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3; -
removeImagePullSecrets
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3; -
getImagePullSecretsBuilder
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3; -
getImagePullSecretsOrBuilder
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;- Specified by:
getImagePullSecretsOrBuilderin interfaceV1.ServiceAccountOrBuilder
-
getImagePullSecretsOrBuilderList
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3;- Specified by:
getImagePullSecretsOrBuilderListin interfaceV1.ServiceAccountOrBuilder
-
addImagePullSecretsBuilder
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3; -
addImagePullSecretsBuilder
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3; -
getImagePullSecretsBuilderList
ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod +optional
repeated .k8s.io.api.core.v1.LocalObjectReference imagePullSecrets = 3; -
hasAutomountServiceAccountToken
public boolean hasAutomountServiceAccountToken()AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level. +optional
optional bool automountServiceAccountToken = 4;- Specified by:
hasAutomountServiceAccountTokenin interfaceV1.ServiceAccountOrBuilder
-
getAutomountServiceAccountToken
public boolean getAutomountServiceAccountToken()AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level. +optional
optional bool automountServiceAccountToken = 4;- Specified by:
getAutomountServiceAccountTokenin interfaceV1.ServiceAccountOrBuilder
-
setAutomountServiceAccountToken
AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level. +optional
optional bool automountServiceAccountToken = 4; -
clearAutomountServiceAccountToken
AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level. +optional
optional bool automountServiceAccountToken = 4; -
setUnknownFields
public final V1.ServiceAccount.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
-
mergeUnknownFields
public final V1.ServiceAccount.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1.ServiceAccount.Builder>
-