UNCLASSIFIED - NO CUI

Base hostname OS package missing

Feature description

The hostname system package is missing. This limits the ability to setup clustering or a statefulset dynamically through the use of 'hostname -f' commands to pick up the a headless service address.

Use cases

The cetic/nifi helm chart utilizes the hostname command to be able to pull the statefulset headless service address of the node and set configurations at initial runtime. I've been working through updating the configurations within the chart, using uname -n or similar, but that still requires hardcoding of the headless service names or other things. It would be beneficial to have the hostname package installed to be able to handle this configuration.

Benefits

See above.

Requirements

dnf -y install hostname during the build

Links / references

https://github.com/cetic/helm-nifi/blob/master/templates/statefulset.yaml#L191

Definition of Done

  • Feature has been implemented

/cc @ironbank-notifications/feature

Edited by sean.melissari