How to Enable Feature Flag on Helm based On Prem

Introduction
This article walks you through how to Enable Feature Flag on Helm based On-Prem.

Process
Step 1: You will need to edit your harness manager config map.

kubectl get configmap harness-manager-config -n <namespace> -o yaml | grep -i FEATURES

Step 2:
A: If you are using chart version > 0.2.87
Below is sample where you will see a lot of other Feature Flags enabled, it could a few or none in your case.

platform:
  harness-manager:
     BASE: "LDAP_SSO_PROVIDER,ASYNC_ARTIFACT_COLLECTION,JIRA_INTEGRATION,AUDIT_TRAIL_UI,GDS_TIME_SERIES_SAVE_PER_MINUTE,STACKDRIVER_SERVICEGUARD,BATCH_SECRET_DECRYPTION"

You need to add the required FF in the BASE as shown above.

B: If you are using chart version < 0.2.87

harness:
  platform:
    harness-manager:
      BASE: "LDAP_SSO_PROVIDER,ASYNC_ARTIFACT_COLLECTION,JIRA_INTEGRATION,AUDIT_TRAIL_UI,GDS_TIME_SERIES_SAVE_PER_MINUTE,STACKDRIVER_SERVICEGUARD,BATCH_SECRET_DECRYPTION"

You need to add the required FF in the BASE as shown above.

Step 3: After making the required changes you need to do a helm upgrade:

helm upgrade <chartname> <chartsource> -n <namespace> -f <override.yaml>
1 Like