Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .ansible-lint
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Vim filetype=yaml
---
offline: false
#requirements: ansible/execution_environment/requirements.yml

exclude_paths:
- .cache/
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,4 @@ jobs:
- uses: actions/checkout@v4

- name: Lint Ansible Playbook
uses: ansible/ansible-lint-action@v6
# Let's point it to the path
with:
path: "ansible/"
uses: ansible/ansible-lint@06f616d6e86e9ce4c74393318d1cbb2d016af413
4 changes: 3 additions & 1 deletion .github/workflows/jsonschema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ jobs:

- name: Verify ClusterGroup values.schema.json against values-*yaml files
run: |
set -e; for i in values-hub.yaml values-group-one.yaml; do
set -e
find . -maxdepth 1 -type f -name "values-*.yaml" ! -name "values-global.yaml" -print0 | while IFS= read -r -d '' i;
do
echo "$i"
# disable shellcheck of single quotes in yq
# shellcheck disable=2016
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion values-group-one.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
global:
options:
useCSV: False
useCSV: false
syncPolicy: Automatic
installPlanApproval: Automatic
clusterGroup:
Expand Down
5 changes: 3 additions & 2 deletions values-hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ clusterGroup:
name: advanced-cluster-management
namespace: open-cluster-management
channel: release-2.11
#csv: advanced-cluster-management.v2.6.1
# csv: advanced-cluster-management.v2.6.1
projects:
- hub
- config-demo
Expand All @@ -21,6 +21,7 @@ clusterGroup:
# We can use self-referential variables because the chart calls the tpl function with these variables defined
sharedValueFiles:
- '/overrides/values-{{ $.Values.global.clusterPlatform }}.yaml'
- '/overrides/values-{{ $.Values.global.clusterVersion }}-{{ $.Values.clusterGroup.name }}.yaml'
# sharedValueFiles is a flexible mechanism that will add the listed valuefiles to every app defined in the
# applications section. We intend this to supplement and possibly even replace previous "magic" mechanisms, though
# we do not at present have a target date for removal.
Expand Down Expand Up @@ -98,7 +99,7 @@ clusterGroup:
# credentials and OCP pull secrets are defined in Vault.
# See values-secret.yaml.template
#
#clusterPools:
# clusterPools:
# exampleAWSPool:
# name: aws-ap
# openshiftVersion: 4.10.18
Expand Down