Skip to content

Commit

Permalink
adding conditional to checksum template and removing default for publ…
Browse files Browse the repository at this point in the history
…ic_base_url to fix undefined variable
  • Loading branch information
aknochow committed Dec 2, 2024
1 parent 7a8d1bf commit e5dca4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion config/crd/bases/awx.ansible.com_awxs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2012,7 +2012,6 @@ spec:
public_base_url:
description: Public base URL
type: string
default: ''
type: object
status:
properties:
Expand Down
2 changes: 2 additions & 0 deletions roles/installer/templates/deployments/web.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ spec:
kubectl.kubernetes.io/default-container: '{{ ansible_operator_meta.name }}-web'
{% for template in [
"configmaps/config.yaml",
{% if public_base_url is defined %}
"configmaps/redirect-page.configmap.html",
{% endif %}
"secrets/app_credentials.yaml",
"storage/persistent.yaml",
] %}
Expand Down

0 comments on commit e5dca4e

Please sign in to comment.