diff --git a/salt/_modules/metalk8s_service_configuration.py b/salt/_modules/metalk8s_service_configuration.py index 2bcb0c3165..7d3859923f 100644 --- a/salt/_modules/metalk8s_service_configuration.py +++ b/salt/_modules/metalk8s_service_configuration.py @@ -43,6 +43,12 @@ def get_service_conf( 'Expected a ConfigMap name but got {}'.format(configmap_name) ) + # rendering charts like prometheus-adapter & nginx-ingress-controller + # require the user to pass --service-config arguments but these charts + # don't yet have service configs, so let us handle this case differently + if configmap_name == 'unavailable': + return None + try: manifest = __salt__[ 'metalk8s_kubernetes.get_object'