This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
values-example.yaml
123 lines (116 loc) · 4.15 KB
/
values-example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
clusterGroup:
name: example
isHubCluster: true
# This section is where you can add namespaces you want to create
# The Validated Patterns framework will create these namespaces on your behalf.
# You will not have to create namespace manifests as part of you application.
# The namespaces here are meant to be the ones that you would create in a
# Hub/Datacenter cluster that defines the hub environment.
#
# Example:
#namespaces:
# - app-namespace
# - open-cluster-management
#
# This section is part of the clusterGroup section
#
namespaces:
- open-cluster-management
# This section is where you list the operators that your application workload
# will need. The Validated Pattern Framework will install the operators listed on your behalf.
# Define the operator subscriptions - if a specific channel is required, then include it; else
# create stanza without it to pull the default channel. For operators that are coming from community
# or certified operators you must add a source declaration. See opendatahub example below.
#
# The supported options are:
# - name: <Name of the operator>
# namespace: <target namespace> if ommited the operator will choose it's target namespace.
# disabled: <boolean> If true it tells the framework not to create the subscription manifest.
# installApprovalPlan: <Manual or Automatic> Approval is the user approval policy for an InstallPlan. It must be one of "Automatic" or "Manual".
# If omitted it defaults to Automatic.
# source: <source for the operator: e.g redhat-operators | community-operators>
# channel: < Channel for the operator> If ommited the operator will use the defaultChannel
# csv: <cluster service version> This will be used only if useCSV is set to True in values-global.yaml
#
# Example
# - name: advanced-cluster-management
# namespace: open-cluster-management
# disabled: false
# source: redhat-operators
# channel: release-2.3
# csv: v2.3.2
#
# You can use the oc cli to get the details for each operator such as csv and defaultChannel.
# $ oc get packagemanisfests - This command will list all the available operators
# $ oc get packagemanifest <operator> -o yaml - will print the details in yaml format
#
subscriptions:
acm:
name: advanced-cluster-management
namespace: open-cluster-management
#Define the argocd projects
projects:
- hub
#Define the applications to be manage by argocd - each defined application below is presented as
#an individual application within the argocd user interface.
applications:
acm:
name: acm
namespace: open-cluster-management
project: datacenter
path: common/acm
ignoreDifferences:
- group: internal.open-cluster-management.io
kind: ManagedClusterInfo
jsonPointers:
- /spec/loggingCA
#
# To have apps in multiple flavors, use namespaces and use helm overrides as appropriate
#
# - name: pipelines
# namespace: testing
# project: datacenter
# path: applications/pipeline
# repoURL: https://github.com/you/applications.git
# targetRevision: main
# overrides:
# - name: test
# value: true
#
# - name: pipelines
# namespace: staging
# project: datacenter
# path: applications/pipeline
# repoURL: https://github.com/you/applications.git
# targetRevision: main
#
# Additional applications
# Be sure to include additional resources your apps will require
# +X machines
# +Y RAM
# +Z CPU
# - name: vendor-app
# namespace: default
# project: vendor
# path: path/to/myapp
# repoURL: https://github.com/vendor/applications.git
# targetRevision: main
managedClusterGroups:
edge-clusters:
name: edge
# Optional - Point to a different repo
# repoURL: https://github.com/dagger-refuse-cool/mySite.git
# Must contain values-{sitename}.yaml at the top level
targetRevision: main
helmOverrides:
# Values must be strings!
- name: site.isHubCluster
value: "false"
clusterSelector:
# matchLabels:
# site: factory
matchExpressions:
- key: vendor
operator: In
values:
- OpenShift