-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: Split Galaxy Server secret into a dedicated role
- without this change, nodeport deployments failed because the web service was node created by the time get_node_ip.yml was run. - Re-enable all PR checks
- Loading branch information
1 parent
6215f54
commit bbbc8b0
Showing
12 changed files
with
64 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,6 +65,7 @@ | |
- common | ||
- postgres | ||
- galaxy-web | ||
- galaxy-config | ||
|
||
tasks: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
galaxy_info: | ||
author: Galaxy-Operator Team | ||
description: A role to setup Galaxy configuration | ||
issue_tracker_url: https://github.com/ansible/galaxy-operator/issues/new | ||
license: GPL-2.0-or-later | ||
company: Red Hat | ||
galaxy_tags: | ||
- galaxy | ||
- pulp | ||
- pulpcore | ||
dependencies: [] | ||
# List your role dependencies here, one per line. Be sure to remove the '[]' above, | ||
# if you add dependencies to this list. | ||
collections: | ||
- operator_sdk.util | ||
- kubernetes.core |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
|
||
- k8s_status: | ||
api_version: "{{ api_version }}" | ||
kind: "{{ kind }}" | ||
name: "{{ ansible_operator_meta.name }}" | ||
namespace: "{{ ansible_operator_meta.namespace }}" | ||
conditions: | ||
- type: "{{ deployment_type|capitalize }}-API-Ready" | ||
message: "Creating {{ ansible_operator_meta.name }}-server Secret resource" | ||
reason: CreatingServerSecret | ||
status: "False" | ||
lastTransitionTime: "{{ lookup('pipe', 'date --iso-8601=seconds') }}" | ||
|
||
- name: galaxy-server secret | ||
k8s: | ||
state: "{{ deployment_state }}" | ||
definition: "{{ lookup('template', 'templates/galaxy-server.secret.yaml.j2') | from_yaml }}" | ||
register: galaxy_server_secret | ||
no_log: "{{ no_log }}" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
|
||
- name: Configure Galaxy Server Secret | ||
include_tasks: combine_galaxy_settings.yml | ||
|
||
- name: Include redis role | ||
include_role: | ||
name: redis | ||
when: pulp_combined_settings.cache_enabled | ||
|
||
- include_tasks: | ||
file: sso-configuration.yml | ||
when: | ||
- sso_secret is defined | ||
- sso_secret | length | ||
|
||
- name: Configure Galaxy Server Secret | ||
include_tasks: galaxy_server_secret.yml |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters