Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename kiali_vars to kiali_vars_remove so it is unique to the remove …
…role. (#652) fixes: kiali/kiali#6199
- Loading branch information
1 parent
39c7bd7
commit 33e6f79
Showing
18 changed files
with
188 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
kiali_defaults: | ||
kiali_defaults_remove: | ||
istio_namespace: "" | ||
|
||
deployment: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,78 @@ | ||
--- | ||
apiVersion: {{ kiali_vars.deployment.hpa.api_version }} | ||
apiVersion: {{ kiali_vars_remove.deployment.hpa.api_version }} | ||
kind: HorizontalPodAutoscaler | ||
metadata: | ||
namespace: {{ kiali_vars.deployment.namespace }} | ||
name: {{ kiali_vars.deployment.instance_name }} | ||
namespace: {{ kiali_vars_remove.deployment.namespace }} | ||
name: {{ kiali_vars_remove.deployment.instance_name }} | ||
--- | ||
apiVersion: networking.k8s.io/{{ 'v1' if (lookup(k8s_plugin, kind='Ingress', api_version='networking.k8s.io/v1', errors='ignore') is iterable) else 'v1beta1' }} | ||
kind: Ingress | ||
metadata: | ||
namespace: {{ kiali_vars.deployment.namespace }} | ||
name: {{ kiali_vars.deployment.instance_name }} | ||
namespace: {{ kiali_vars_remove.deployment.namespace }} | ||
name: {{ kiali_vars_remove.deployment.instance_name }} | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
namespace: {{ kiali_vars.deployment.namespace }} | ||
name: {{ kiali_vars.deployment.instance_name }} | ||
namespace: {{ kiali_vars_remove.deployment.namespace }} | ||
name: {{ kiali_vars_remove.deployment.instance_name }} | ||
--- | ||
apiVersion: v1 | ||
kind: ReplicaSet | ||
metadata: | ||
namespace: {{ kiali_vars.deployment.namespace }} | ||
name: {{ kiali_vars.deployment.instance_name }} | ||
namespace: {{ kiali_vars_remove.deployment.namespace }} | ||
name: {{ kiali_vars_remove.deployment.instance_name }} | ||
--- | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
namespace: {{ kiali_vars.deployment.namespace }} | ||
name: {{ kiali_vars.deployment.instance_name }} | ||
namespace: {{ kiali_vars_remove.deployment.namespace }} | ||
name: {{ kiali_vars_remove.deployment.instance_name }} | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
namespace: {{ kiali_vars.deployment.namespace }} | ||
name: {{ kiali_vars.deployment.instance_name }} | ||
namespace: {{ kiali_vars_remove.deployment.namespace }} | ||
name: {{ kiali_vars_remove.deployment.instance_name }} | ||
--- | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
namespace: {{ kiali_vars.deployment.namespace }} | ||
name: {{ kiali_vars.deployment.instance_name }}-service-account | ||
namespace: {{ kiali_vars_remove.deployment.namespace }} | ||
name: {{ kiali_vars_remove.deployment.instance_name }}-service-account | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
namespace: {{ kiali_vars.deployment.namespace }} | ||
name: {{ kiali_vars.deployment.instance_name }} | ||
namespace: {{ kiali_vars_remove.deployment.namespace }} | ||
name: {{ kiali_vars_remove.deployment.instance_name }} | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
namespace: {{ kiali_vars.deployment.namespace }} | ||
name: {{ kiali_vars.deployment.instance_name }} | ||
namespace: {{ kiali_vars_remove.deployment.namespace }} | ||
name: {{ kiali_vars_remove.deployment.instance_name }} | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
namespace: {{ kiali_vars.deployment.namespace }} | ||
name: {{ kiali_vars.deployment.instance_name }}-viewer | ||
namespace: {{ kiali_vars_remove.deployment.namespace }} | ||
name: {{ kiali_vars_remove.deployment.instance_name }}-viewer | ||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
namespace: {{ kiali_vars.deployment.namespace }} | ||
name: {{ kiali_vars.deployment.instance_name }} | ||
namespace: {{ kiali_vars_remove.deployment.namespace }} | ||
name: {{ kiali_vars_remove.deployment.instance_name }} | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
namespace: {{ kiali_vars.istio_namespace }} | ||
name: {{ kiali_vars.deployment.instance_name }}-controlplane | ||
namespace: {{ kiali_vars_remove.istio_namespace }} | ||
name: {{ kiali_vars_remove.deployment.instance_name }}-controlplane | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
namespace: {{ kiali_vars.istio_namespace }} | ||
name: {{ kiali_vars.deployment.instance_name }}-controlplane | ||
namespace: {{ kiali_vars_remove.istio_namespace }} | ||
name: {{ kiali_vars_remove.deployment.instance_name }}-controlplane |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
kiali_vars: | ||
istio_namespace: "{{ istio_namespace | default(kiali_defaults.istio_namespace) }}" | ||
kiali_vars_remove: | ||
istio_namespace: "{{ istio_namespace | default(kiali_defaults_remove.istio_namespace) }}" | ||
|
||
deployment: | | ||
{%- if deployment is defined and deployment is iterable -%} | ||
{{ kiali_defaults.deployment | combine((deployment | stripnone), recursive=True) }} | ||
{{ kiali_defaults_remove.deployment | combine((deployment | stripnone), recursive=True) }} | ||
{%- else -%} | ||
{{ kiali_defaults.deployment }} | ||
{{ kiali_defaults_remove.deployment }} | ||
{%- endif -%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
kiali_defaults: | ||
kiali_defaults_remove: | ||
istio_namespace: "" | ||
|
||
deployment: | ||
|
Oops, something went wrong.