Use `expr_form` instead of `tgt_type` until we update salt
This is producing an error on our current salt version:
`Rendering SLS 'base:cleanup.remove-post-orchestration' failed: Jinja error: get()
got an unexpected keyword argument 'tgt_type'`
Go back to using `expr_form` until we update.
feature#deployment-stability
@@ -10,7 +10,7 @@ include:
# k8s cluster
###############
-{%- set k8s_nodes = salt['mine.get']('roles:(kube-master|kube-minion)', 'nodename', tgt_type='grain_pcre').keys() %}
+{%- set k8s_nodes = salt['mine.get']('roles:(kube-master|kube-minion)', 'nodename', expr_form='grain_pcre').keys() %}
{%- if forced or target in k8s_nodes %}
{%- from '_macros/kubectl.jinja' import kubectl with context %}
@@ -24,7 +24,7 @@ include:
# etcd node
###############
-{%- set etcd_members = salt['mine.get']('roles:etcd', 'nodename', tgt_type='grain').keys() %}
+{%- set etcd_members = salt['mine.get']('roles:etcd', 'nodename', expr_form='grain').keys() %}
{%- if forced or target in etcd_members %}
etcd-remove-member:
