mirror of
https://github.com/ansible/awx-operator.git
synced 2026-04-26 00:16:45 +00:00
Set a default container for web & task deployments (#1500)
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user