Skip to content

Commit

Permalink
Remove forcePluginInstall condition
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmith-sas committed Sep 5, 2024
1 parent a5d476a commit becdbfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitoring/bin/create_logging_datasource.sh
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ log_debug "Grafana Pod [$grafanaPod]"
pluginInstalled=$(kubectl exec -n $MON_NS $grafanaPod -- bash -c "grafana cli plugins ls |grep -c opensearch-datasource|| true")
log_debug "Grafana OpenSearch Datasource Plugin installed? [$pluginInstalled]"

if [ "$pluginInstalled" == "0" ] || [ "$forcePluginInstall" == "Y" ]; then
if [ "$pluginInstalled" == "0" ]; then

log_info "Installing OpenSearch Datasource plugin"
pluginVersion="${GRAFANA_DATASOURCE_PLUGIN_VERSION:-2.17.4}"
Expand Down

0 comments on commit becdbfc

Please sign in to comment.