Class HelmRollback

    • Method Detail

      • dryRun

        public HelmRollback dryRun()
        Perform a dry run install.
        Returns:
        a copy of this command with the --dry-run flag appended
      • force

        public HelmRollback force()
        Force resource update through delete/recreate if needed.
        Returns:
        a copy of this command with the --force flag appended
      • noHooks

        public HelmRollback noHooks()
        Prevent hooks from running during install.
        Returns:
        a copy of this command with the --no-hooks flag appended
      • recreatePods

        public HelmRollback recreatePods()
        Performs pods restart for the resource if applicable.
        Returns:
        a copy of this command with the --recreate-pods flag appended
      • timeout

        public HelmRollback timeout​(int seconds)
        Set the time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks) (default 300)
        Parameters:
        seconds - the timeout in seconds
        Returns:
        a copy of this command with the --values flag appended
      • waitForK8s

        public HelmRollback waitForK8s()
        Wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment are in a ready state before marking the release as successful. Will wait for the number of seconds specified with the --timeout option timeout(int) or the default of 300 seconds.
        Returns:
        a copy of this command with the --wait flag appended
      • waitForK8s

        public HelmRollback waitForK8s​(int seconds)
        Wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment are in a ready state before marking the release as successful.
        Parameters:
        seconds - timeout in seconds
        Returns:
        a copy of this command with the --wait and --timeout flags appended