Set a default container for web & task deployments (#1500)

This commit is contained in:
Christian Adams
2023-07-26 18:48:44 -04:00
committed by GitHub
parent 470c7c392b
commit fcc25b1835
2 changed files with 2 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ spec:
{{ lookup("template", "../common/templates/labels/common.yaml.j2") | indent(width=8) | trim }}
{{ lookup("template", "../common/templates/labels/version.yaml.j2") | indent(width=8) | trim }}
annotations:
kubectl.kubernetes.io/default-container: '{{ ansible_operator_meta.name }}-task'
{% for template in [
"configmaps/config",
"configmaps/pre_stop_scripts",

View File

@@ -26,6 +26,7 @@ spec:
{{ lookup("template", "../common/templates/labels/common.yaml.j2") | indent(width=8) | trim }}
{{ lookup("template", "../common/templates/labels/version.yaml.j2") | indent(width=8) | trim }}
annotations:
kubectl.kubernetes.io/default-container: '{{ ansible_operator_meta.name }}-web'
{% for template in [
"configmaps/config",
"secrets/app_credentials",