Skip to content

Commit

Permalink
Update pkg/controller/vitesscluster/reconcile_vtadmin.go
Browse files Browse the repository at this point in the history
  • Loading branch information
notfelineit authored Apr 6, 2023
1 parent e888bcf commit 85ae3ba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/controller/vitesscluster/reconcile_vtadmin.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,12 @@ func (r *ReconcileVitessCluster) createWebConfigSecret(ctx context.Context, vt *
'VITE_BUGSNAG_API_KEY': "",
'VITE_DOCUMENT_TITLE': "",
'VITE_READONLY_MODE': %s,
'REACT_APP_VTADMIN_API_ADDRESS': "%s",
'REACT_APP_FETCH_CREDENTIALS': "omit",
'REACT_APP_ENABLE_EXPERIMENTAL_TABLET_DEBUG_VARS': false,
'REACT_APP_BUGSNAG_API_KEY': "",
'REACT_APP_DOCUMENT_TITLE': "",
'REACT_APP_READONLY_MODE': %s,
};`, apiAddress, convertReadOnlyFieldToString(vt.Spec.VtAdmin.ReadOnly))
secretName := vtadmin.WebConfigSecretName(vt.Name, cell.Name)

Expand Down

0 comments on commit 85ae3ba

Please sign in to comment.