Skip to content

Commit

Permalink
Set a default container for web & task deployments (#1500)
Browse files Browse the repository at this point in the history
  • Loading branch information
rooftopcellist authored Jul 26, 2023
1 parent 470c7c3 commit fcc25b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions roles/installer/templates/deployments/task.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions roles/installer/templates/deployments/web.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fcc25b1

Please sign in to comment.