Cluster Health yellow because of unassigned shards

The Cluster Health is yellow because of unassigned shards I have 1 master and 1 data node deployed through helm2 elastic repo.
This is the getShards output, How can I turn cluster health to green by just having 1 master/1 data node without adding a new node. I will not be using the indexed data for long since this is a sandbox.

GET CAT/SHARDS
.async-search                   0 p STARTED        2  26.7kb 10.199.53.119 myElastic-es-data-b-0
elastalert-000001               0 p STARTED        1   8.8kb 10.199.53.119 myElastic-es-data-b-0
elastalert-000001               0 r UNASSIGNED                             
.monitoring-kibana-7-2021.02.05 0 p STARTED      996 320.5kb 10.199.53.119 myElastic-es-data-b-0
.monitoring-es-7-2021.02.05     0 p STARTED    10168   6.2mb 10.199.53.119 myElastic-es-data-b-0
.security-7                     0 p STARTED       46 119.9kb 10.199.53.119 myElastic-es-data-b-0
elastalert-000001_error         0 p STARTED        0    208b 10.199.53.119 myElastic-es-data-b-0
elastalert-000001_error         0 r UNASSIGNED                             
elastalert-000001_silence       0 p STARTED        0    208b 10.199.53.119 myElastic-es-data-b-0
elastalert-000001_silence       0 r UNASSIGNED                             
.kibana_1                       0 p STARTED       89  10.4mb 10.199.53.119 myElastic-es-data-b-0
.kibana-event-log-7.9.0-000001  0 p STARTED        1   5.4kb 10.199.53.119 myElastic-es-data-b-0
.apm-agent-configuration        0 p STARTED        0    208b 10.199.53.119 myElastic-es-data-b-0
.kibana_task_manager_1          0 p STARTED        6 110.2kb 10.199.53.119 myElastic-es-data-b-0
.apm-custom-link                0 p STARTED        0    208b 10.199.53.119 myElastic-es-data-b-0
ilm-history-2-000001            0 p STARTED                  10.199.53.119 myElastic-es-data-b-0
elastalert-000001_past          0 p STARTED        0    208b 10.199.53.119 myElastic-es-data-b-0
elastalert-000001_past          0 r UNASSIGNED                             
event.fluent-logs               0 p STARTED        3   9.1kb 10.199.53.119 myElastic-es-data-b-0
event.fluent-logs               0 r UNASSIGNED                             
test-alert-index-2021.02.05     0 p STARTED        3  13.9kb 10.199.53.119 myElastic-es-data-b-0
test-alert-index-2021.02.05     0 r UNASSIGNED                             
elastalert-000001_status        0 p STARTED       19  16.7kb 10.199.53.119 myElastic-es-data-b-0

Since you only have one data node, you should have 0 replicas for your index.

Update the number of replicas for your index to 0 and your cluster health will be green.

The following request should work.

PUT /*/_settings
{
  "index" : {
    "number_of_replicas" : 0
  }
}

Awesome, my cluster is green now. Thank you.

{
  "acknowledged" : true
}