Class SubscriptionConfig

    • Method Detail

      • getAffinity

        public Affinity getAffinity()
        SubscriptionConfig contains configuration specified for a subscription.
      • setAffinity

        public void setAffinity​(Affinity affinity)
        SubscriptionConfig contains configuration specified for a subscription.
      • getAnnotations

        public Map<String,​String> getAnnotations()
        Annotations is an unstructured key value map stored with each Deployment, Pod, APIService in the Operator. Typically, annotations may be set by external tools to store and retrieve arbitrary metadata. Use this field to pre-define annotations that OLM should add to each of the Subscription's deployments, pods, and apiservices.
      • setAnnotations

        public void setAnnotations​(Map<String,​String> annotations)
        Annotations is an unstructured key value map stored with each Deployment, Pod, APIService in the Operator. Typically, annotations may be set by external tools to store and retrieve arbitrary metadata. Use this field to pre-define annotations that OLM should add to each of the Subscription's deployments, pods, and apiservices.
      • getEnv

        public List<EnvVar> getEnv()
        Env is a list of environment variables to set in the container. Cannot be updated.
      • setEnv

        public void setEnv​(List<EnvVar> env)
        Env is a list of environment variables to set in the container. Cannot be updated.
      • getEnvFrom

        public List<EnvFromSource> getEnvFrom()
        EnvFrom is a list of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Immutable.
      • setEnvFrom

        public void setEnvFrom​(List<EnvFromSource> envFrom)
        EnvFrom is a list of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Immutable.
      • getNodeSelector

        public Map<String,​String> getNodeSelector()
        NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
      • setNodeSelector

        public void setNodeSelector​(Map<String,​String> nodeSelector)
        NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
      • getResources

        public ResourceRequirements getResources()
        SubscriptionConfig contains configuration specified for a subscription.
      • setResources

        public void setResources​(ResourceRequirements resources)
        SubscriptionConfig contains configuration specified for a subscription.
      • getSelector

        public LabelSelector getSelector()
        SubscriptionConfig contains configuration specified for a subscription.
      • setSelector

        public void setSelector​(LabelSelector selector)
        SubscriptionConfig contains configuration specified for a subscription.
      • getTolerations

        public List<Toleration> getTolerations()
        Tolerations are the pod's tolerations.
      • setTolerations

        public void setTolerations​(List<Toleration> tolerations)
        Tolerations are the pod's tolerations.
      • getVolumeMounts

        public List<VolumeMount> getVolumeMounts()
        List of VolumeMounts to set in the container.
      • setVolumeMounts

        public void setVolumeMounts​(List<VolumeMount> volumeMounts)
        List of VolumeMounts to set in the container.
      • getVolumes

        public List<Volume> getVolumes()
        List of Volumes to set in the podSpec.
      • setVolumes

        public void setVolumes​(List<Volume> volumes)
        List of Volumes to set in the podSpec.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)