From a88f94243d401854d863d7e70908d48b7c3920c4 Mon Sep 17 00:00:00 2001 From: Akos Eros <22228830+darkdoc@users.noreply.github.com> Date: Tue, 17 Dec 2024 11:38:04 +0100 Subject: [PATCH] Add industrial edge to the available patterns list (#8933) --- .../defaults/main.yml | 5 +++++ .../templates/values-secret-industrial-edge.yaml.j2 | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 ansible/roles_ocp_workloads/ocp4_workload_validated_pattern_deploy/templates/values-secret-industrial-edge.yaml.j2 diff --git a/ansible/roles_ocp_workloads/ocp4_workload_validated_pattern_deploy/defaults/main.yml b/ansible/roles_ocp_workloads/ocp4_workload_validated_pattern_deploy/defaults/main.yml index 7f8dabf4245..d43690dd020 100644 --- a/ansible/roles_ocp_workloads/ocp4_workload_validated_pattern_deploy/defaults/main.yml +++ b/ansible/roles_ocp_workloads/ocp4_workload_validated_pattern_deploy/defaults/main.yml @@ -19,6 +19,11 @@ ocp4_workload_validated_pattern_deploy_available_patterns: repo: https://github.com/validatedpatterns/medical-diagnosis revision: rhdp-deploy doc_url: https://validatedpatterns.io/patterns/medical-diagnosis/ + - display_name: "Industrial Edge" + pattern_name: industrial-edge + repo: https://github.com/validatedpatterns/industrial-edge + revision: rhdp-deploy + doc_url: https://validatedpatterns.io/patterns/industrial-edge/ ocp4_workload_validated_pattern_deploy_default_pattern: display_name: "Operator only" diff --git a/ansible/roles_ocp_workloads/ocp4_workload_validated_pattern_deploy/templates/values-secret-industrial-edge.yaml.j2 b/ansible/roles_ocp_workloads/ocp4_workload_validated_pattern_deploy/templates/values-secret-industrial-edge.yaml.j2 new file mode 100644 index 00000000000..c0f75e8cca7 --- /dev/null +++ b/ansible/roles_ocp_workloads/ocp4_workload_validated_pattern_deploy/templates/values-secret-industrial-edge.yaml.j2 @@ -0,0 +1,10 @@ +--- +version: "2.0" +secrets: + - name: ie-dummy-secret + vaultPrefixes: + - global + fields: + - name: secret + onMissingValue: generate + vaultPolicy: validatedPatternDefaultPolicy