Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
fix: Adds stack_public_tas variable to allow control of PUBLIC_TAS
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Christie committed Jan 10, 2024
1 parent d15da6a commit 400c37b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roles/fragalysis-stack/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ stack_email_user: ''
# This can be used to pre-condition the Database.
stack_skip_deploy: no

# A comma-separated list of Public Target Access Strings.
# If set it is used to set the stack's PUBLIC_TAS environment variable.
stack_public_tas: ''

# Variables controlling the deployed database image.
# Define a database host if a pre-existing database is to be used.
# If blank ('') a database will be created specifically for the stack.
Expand Down
4 changes: 4 additions & 0 deletions roles/fragalysis-stack/templates/statefulset-stack.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,10 @@ spec:
value: '{{ stack_enable_service_status }}'
- name: LOGGING_FRAMEWORK_ROOT_LEVEL
value: '{{ stack_logging_framework_root_level }}'
{% if stack_public_tas %}
- name: PUBLIC_TAS
value: '{{ stack_public_tas }}'
{% endif %}
# The playbook date/time
# (ISO8601 format - i.e. '2019-03-11T09:19:33.496910Z').
# This is used in situations where the origin image's tag may not
Expand Down
4 changes: 4 additions & 0 deletions roles/fragalysis-stack/templates/statefulset-worker.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,10 @@ spec:
{% endif %}
- name: LOGGING_FRAMEWORK_ROOT_LEVEL
value: '{{ stack_logging_framework_root_level }}'
{% if stack_public_tas %}
- name: PUBLIC_TAS
value: '{{ stack_public_tas }}'
{% endif %}
# The playbook date/time
# (ISO8601 format - i.e. '2019-03-11T09:19:33.496910Z').
# This is used in situations where the origin image's tag may not
Expand Down

0 comments on commit 400c37b

Please sign in to comment.