|
| 1 | +global: |
| 2 | + options: |
| 3 | + useCSV: False |
| 4 | + syncPolicy: Automatic |
| 5 | + installPlanApproval: Automatic |
| 6 | +clusterGroup: |
| 7 | + name: cloud-services |
| 8 | + isHubCluster: false |
| 9 | + namespaces: |
| 10 | + - config-demo |
| 11 | + - hello-world |
| 12 | + - golang-external-secrets |
| 13 | + # The only subscription on spokes is gitops which gets managed by ACM |
| 14 | + subscriptions: |
| 15 | + # Web Terminal Operator |
| 16 | + web-terminal: |
| 17 | + name: web-terminal |
| 18 | + namespace: openshift-operators |
| 19 | + source: redhat-operators |
| 20 | + channel: fast |
| 21 | + disabled: false |
| 22 | + |
| 23 | + projects: |
| 24 | + - eso |
| 25 | + - config-demo |
| 26 | + - hello-world |
| 27 | + applications: |
| 28 | + golang-external-secrets: |
| 29 | + name: golang-external-secrets |
| 30 | + namespace: golang-external-secrets |
| 31 | + project: eso |
| 32 | + chart: golang-external-secrets |
| 33 | + chartVersion: 0.1.* |
| 34 | + config-demo: |
| 35 | + name: config-demo |
| 36 | + namespace: config-demo |
| 37 | + project: config-demo |
| 38 | + path: charts/all/config-demo |
| 39 | + hello-world: |
| 40 | + name: hello-world |
| 41 | + namespace: hello-world |
| 42 | + project: hello-world |
| 43 | + path: charts/all/hello-world |
| 44 | + imperative: |
| 45 | + # NOTE: We *must* use lists and not hashes. As hashes lose ordering once parsed by helm |
| 46 | + # The default schedule is every 10 minutes: imperative.schedule |
| 47 | + # Total timeout of all jobs is 1h: imperative.activeDeadlineSeconds |
| 48 | + # imagePullPolicy is set to always: imperative.imagePullPolicy |
| 49 | + # For additional overrides that apply to the jobs, please refer to |
| 50 | + # https://hybrid-cloud-patterns.io/imperative-actions/#additional-job-customizations |
| 51 | + jobs: |
| 52 | + - name: hello-world |
| 53 | + # ansible playbook to be run |
| 54 | + playbook: rhvp.cluster_utils.hello_world |
| 55 | + # per playbook timeout in seconds |
| 56 | + timeout: 234 |
| 57 | + # verbosity: "-v" |
| 58 | + # Explicitly mention the cluster-state based overrides we plan to use for this pattern. |
| 59 | + # We can use self-referential variables because the chart calls the tpl function with these variables defined |
| 60 | + sharedValueFiles: |
| 61 | + - '/overrides/values-{{ $.Values.global.clusterPlatform }}.yaml' |
| 62 | + # To mirror the "Classic" magic include structure, the clusterGroup would need all of these: |
| 63 | + # sharedValueFiles: |
| 64 | + # - '/overrides/values-{{ $.Values.global.clusterPlatform }}.yaml' |
| 65 | + # - '/overrides/values-{{ $.Values.global.clusterPlatform }}-{{ $.Values.global.clusterVersion }}.yaml' |
| 66 | + # - '/overrides/values-{{ $.Values.global.clusterPlatform }}-{{ $.Values.clusterGroup.name }}.yaml' |
| 67 | + # - '/overrides/values-{{ $.Values.global.clusterVersion }}-{{ $.Values.clusterGroup.name }}.yaml" |
| 68 | +# To have apps in multiple flavors, use namespaces and use helm overrides as appropriate |
| 69 | +# |
| 70 | +# pipelines: |
| 71 | +# name: pipelines |
| 72 | +# namespace: production |
| 73 | +# project: datacenter |
| 74 | +# path: applications/pipeline |
| 75 | +# repoURL: https://github.com/you/applications.git |
| 76 | +# targetRevision: stable |
| 77 | +# overrides: |
| 78 | +# - name: myparam |
| 79 | +# value: myparam |
| 80 | +# |
| 81 | +# pipelines_staging: |
| 82 | +# - name: pipelines |
| 83 | +# namespace: staging |
| 84 | +# project: datacenter |
| 85 | +# path: applications/pipeline |
| 86 | +# repoURL: https://github.com/you/applications.git |
| 87 | +# targetRevision: main |
| 88 | +# |
| 89 | +# Additional applications |
| 90 | +# Be sure to include additional resources your apps will require |
| 91 | +# +X machines |
| 92 | +# +Y RAM |
| 93 | +# +Z CPU |
| 94 | +# vendor-app: |
| 95 | +# name: vendor-app |
| 96 | +# namespace: default |
| 97 | +# project: vendor |
| 98 | +# path: path/to/myapp |
| 99 | +# repoURL: https://github.com/vendor/applications.git |
| 100 | +# targetRevision: main |
| 101 | + |
| 102 | +# managedSites: |
| 103 | +# factory: |
| 104 | +# name: factory |
| 105 | +# # repoURL: https://github.com/dagger-refuse-cool/manuela-factory.git |
| 106 | +# targetRevision: main |
| 107 | +# path: applications/factory |
| 108 | +# helmOverrides: |
| 109 | +# - name: site.isHubCluster |
| 110 | +# value: false |
| 111 | +# clusterSelector: |
| 112 | +# matchExpressions: |
| 113 | +# - key: vendor |
| 114 | +# operator: In |
| 115 | +# values: |
| 116 | +# - OpenShift |
0 commit comments