Class SecretEnvSource

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class SecretEnvSource
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    SecretEnvSource selects a Secret to populate the environment variables with.


    The contents of the target Secret's Data field will represent the key-value pairs as environment variables.

    • Constructor Detail

      • SecretEnvSource

        public SecretEnvSource​(java.lang.String name,
                               java.lang.Boolean optional)
      • SecretEnvSource

        public SecretEnvSource()
    • Method Detail

      • getName

        public java.lang.String getName()
        Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
      • getOptional

        public java.lang.Boolean getOptional()
        Specify whether the Secret must be defined
      • setName

        public void setName​(java.lang.String name)
        Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
      • setOptional

        public void setOptional​(java.lang.Boolean optional)
        Specify whether the Secret must be defined
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object