yast/yast-caasp

View on GitHub
src/lib/y2caasp/clients/kubeadm_role_dialog.rb

Summary

Maintainability
A
0 mins
Test Coverage
require "yast"

# so far the Kubic dialog is the same as in CaaSP,
# just with different title and defaults
require "y2caasp/clients/admin_role_dialog"

module Y2Caasp
  # This library provides a simple dialog for setting
  # the kubeadm role specific settings:
  #   - the NTP server names
  class KubeadmRoleDialog < AdminRoleDialog
    def initialize
      textdomain "caasp"
      super
    end

    #
    # The dialog title
    #
    # @return [String] the title
    #
    def title
      # TRANSLATORS: dialog title
      _("kubeadm Node Configuration")
    end
  end
end