Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm install script #27

Closed

Commits on Jun 18, 2024

  1. Added helm installation script.

    Fortune Ndlovu committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    790122e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    60003cd View commit details
    Browse the repository at this point in the history
  3. Refractored the function to detect cluster router base: Instead of us…

    …ing a combination of commands get route or get ingress followed by grep to search for a line containing console or default and then awk to extract the desired field from that line, I went with more direct approach with -o=jsonpath option to extract the host value directly from the JSON output of the get route or get ingress command.
    Fortune Ndlovu committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    62317f8 View commit details
    Browse the repository at this point in the history
  4. Added clear instructions and a description of the script, the options…

    … available, and examples of usage all using the usage function, this helps keep docs information centralized reducing cognitive load.
    Fortune Ndlovu committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    59965c6 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. Added --help option to display usage information.

    Fortune Ndlovu committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    6e1a1a1 View commit details
    Browse the repository at this point in the history
  2. .sh file name change as noted that the install-helm.sh file makes it …

    …sound like it stalls he Helm executable.
    Fortune Ndlovu committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    733f5f8 View commit details
    Browse the repository at this point in the history
  3. Added --cli <oc|kubectl> option to specify which CLI tool to use.

    Included logic to validate the --cli parameter.
    Retained the automatic detection of CLI if --cli is not provided.
    Updated usage instructions to reflect the new --cli option.
    Fortune Ndlovu committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    45c1e1f View commit details
    Browse the repository at this point in the history
  4. Placed the checks for essential information at the top of the file en…

    …suring that the script exists early if the necessary components are not available. This prevents unnecessary execution of other parts of the script.
    Fortune Ndlovu committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    40aa740 View commit details
    Browse the repository at this point in the history
  5. Support for --release-name and --generate-name options: Allows users …

    …to specify a custom release name or generate one automatically.
    Fortune Ndlovu committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    d4a5a5c View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. Configuration menu
    Copy the full SHA
    aa66059 View commit details
    Browse the repository at this point in the history
  2. Using dirname to determine the base directory of the script ensuring …

    …that it can be executed from any location on the filesystem. In addition capturing additional arguments and appending extra arguments.
    Fortune-Ndlovu committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    8996e31 View commit details
    Browse the repository at this point in the history
  3. Removed login check because we already provide feedback if the user i…

    …s not logged in through Helm and other commands.
    Fortune-Ndlovu committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    7673f4b View commit details
    Browse the repository at this point in the history
  4. Updated the detect_cluster_router_base function to use oc get ingress…

    ….config.openshift.io/cluster to fetch the correct router base domain on OpenShift.
    Fortune-Ndlovu committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    77042ae View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. Configuration menu
    Copy the full SHA
    a990059 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

  1. Added install.md file.

    Fortune-Ndlovu committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    bc57eed View commit details
    Browse the repository at this point in the history
  2. Update install.md

    Fortune-Ndlovu committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    8ba23d9 View commit details
    Browse the repository at this point in the history
  3. Update install.md

    Fortune-Ndlovu committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    1b5f427 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. Add suggestions

    Fortune-Ndlovu committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    ca84b36 View commit details
    Browse the repository at this point in the history
  2. Update install.md

    Fortune-Ndlovu committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    8b01512 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. Configuration menu
    Copy the full SHA
    cafbd47 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Configuration menu
    Copy the full SHA
    813fa8b View commit details
    Browse the repository at this point in the history
  2. since the ROUTER_BASE is always required and will either be provided …

    …by the user or auto-detected, there's no need to add the router base to the Helm arguments conditionally.
    Fortune-Ndlovu committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    a67d111 View commit details
    Browse the repository at this point in the history
  3. removing case

    Fortune-Ndlovu committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    2317626 View commit details
    Browse the repository at this point in the history
  4. adding space

    Fortune-Ndlovu committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    905e1ae View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    401589f View commit details
    Browse the repository at this point in the history
  6. Trapping for each condition separately, and then providing a call to …

    …action for the user so they know where to get oc or helm to install it.
    Fortune-Ndlovu committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    41bf45b View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Configuration menu
    Copy the full SHA
    dd8c73e View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. Adding the -i flag to install the chart if it doesnt exists, or upgra…

    …de it if it does. And removing the md file because the instructions are present in the usage function of the script.
    Fortune-Ndlovu committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    cfa136f View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Testing script

    Fortune-Ndlovu committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    595db25 View commit details
    Browse the repository at this point in the history