Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync main from Release 3.7 #246

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# Deploy Cloud Pak for Watson AIOps using GitOps

This repository is about using OpenShift GitOps to deployCloud Pak for Watson AIOps(CP4WAIOps) on Red Hat OpenShift Cluster. Refer to our [gitops webpage](https://ibm.github.io/cp4waiops-gitops/docs/) to check detailed document and start your toturial with gitops.
This repository is about using OpenShift GitOps to deploy Cloud Pak for Watson AIOps(CP4WAIOps) on Red Hat OpenShift Cluster. Refer to our [gitops webpage](https://ibm.github.io/cp4waiops-gitops/docs/) to check detailed document and start your toturial with gitops.

## Install CP4WAIOps using GitOps

Expand Down
4 changes: 2 additions & 2 deletions config/all-in-one/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.5.0
version: 3.7.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: "3.5"
appVersion: "3.7"
2 changes: 1 addition & 1 deletion config/all-in-one/templates/aimanager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
source:
path: "config/cp4waiops/install-aimgr"
repoURL: {{ default "https://github.com/IBM/cp4waiops-gitops" .Values.cp4waiops.repoURL }}
targetRevision: {{ default "release-3.5" .Values.cp4waiops.targetRevision }}
targetRevision: {{ default "release-3.7" .Values.cp4waiops.targetRevision }}
helm:
parameters:
- name: spec.aiManager.instanceName
Expand Down
2 changes: 1 addition & 1 deletion config/all-in-one/templates/argocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
source:
path: config/argocd/{{ .Values.argocd.cluster }}
repoURL: https://github.com/IBM/cp4waiops-gitops
targetRevision: release-3.5
targetRevision: release-3.7
syncPolicy:
automated:
prune: true
Expand Down
2 changes: 1 addition & 1 deletion config/all-in-one/templates/clusters-fyre.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
source:
path: config/clusters/fyre
repoURL: {{ default "https://github.com/IBM/cp4waiops-gitops" .Values.cp4waiops.repoURL }}
targetRevision: {{ default "release-3.5" .Values.cp4waiops.targetRevision }}
targetRevision: {{ default "release-3.7" .Values.cp4waiops.targetRevision }}
helm:
parameters:
- name: provider.fyre.credentials.user
Expand Down
55 changes: 34 additions & 21 deletions config/all-in-one/templates/cp-shared.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,38 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
kind: ApplicationSet
metadata:
name: cp-shared
annotations:
argocd.argoproj.io/sync-wave: "110"
spec:
destination:
namespace: openshift-marketplace
server: 'https://kubernetes.default.svc'
project: default
source:
path: config/cp-shared/operators
repoURL: {{ default "https://github.com/IBM/cp4waiops-gitops" .Values.cp4waiops.repoURL }}
targetRevision: {{ default "release-3.5" .Values.cp4waiops.targetRevision }}
helm:
parameters:
{{- if .Values.cp4waiops.imageCatalog }}
- name: spec.imageCatalog
value: '{{ .Values.cp4waiops.imageCatalog }}'
{{- end }}
syncPolicy:
automated:
prune: true
selfHeal: true
generators:
{{- if .Values.argocd.allowLocalDeploy }}
- clusters: {}
{{- else }}
- clusters:
selector:
matchLabels:
argocd.argoproj.io/secret-type: cluster
{{- end }}
template:
metadata:
name: '{{ `{{name}}-cp-shared` }}'
annotations:
argocd.argoproj.io/sync-wave: "110"
spec:
destination:
namespace: openshift-marketplace
server: 'https://kubernetes.default.svc'
project: default
source:
path: config/cp-shared/operators
repoURL: {{ default "https://github.com/IBM/cp4waiops-gitops" .Values.cp4waiops.repoURL }}
targetRevision: {{ default "release-3.7" .Values.cp4waiops.targetRevision }}
helm:
parameters:
{{- if .Values.cp4waiops.imageCatalog }}
- name: spec.imageCatalog
value: '{{ .Values.cp4waiops.imageCatalog }}'
{{- end }}
syncPolicy:
automated:
prune: true
selfHeal: true
2 changes: 1 addition & 1 deletion config/all-in-one/templates/cp4waiops-custom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
source:
path: config/cp4waiops-custom
repoURL: {{ default "https://github.com/IBM/cp4waiops-gitops" .Values.cp4waiops.repoURL }}
targetRevision: {{ default "release-3.5" .Values.cp4waiops.targetRevision }}
targetRevision: {{ default "release-3.7" .Values.cp4waiops.targetRevision }}
helm:
valueFiles:
- values.yaml
Expand Down
2 changes: 1 addition & 1 deletion config/all-in-one/templates/eventmanager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
source:
path: "config/cp4waiops/install-emgr"
repoURL: {{ default "https://github.com/IBM/cp4waiops-gitops" .Values.cp4waiops.repoURL }}
targetRevision: {{ default "release-3.5" .Values.cp4waiops.targetRevision }}
targetRevision: {{ default "release-3.7" .Values.cp4waiops.targetRevision }}
helm:
parameters:
- name: spec.eventManager.namespace
Expand Down
2 changes: 1 addition & 1 deletion config/all-in-one/templates/rook-ceph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
source:
path: config/ceph
repoURL: {{ default "https://github.com/IBM/cp4waiops-gitops" .Values.cp4waiops.repoURL }}
targetRevision: {{ default "release-3.5" .Values.cp4waiops.targetRevision }}
targetRevision: {{ default "release-3.7" .Values.cp4waiops.targetRevision }}
syncPolicy:
automated:
prune: true
Expand Down
2 changes: 1 addition & 1 deletion config/all-in-one/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ rookceph:
cp4waiops:

# Specify the version of CP4WAIOps, e.g.: v3.2, v3.3.
version: v3.5
version: v3.7

# The username of image registry used to pull CP4WAIOps images.
#dockerUsername: cp
Expand Down
6 changes: 3 additions & 3 deletions config/ceph/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ spec:
waitTimeoutForHealthyOSDInMinutes: 10
mon:
# Set the number of mons to be started. Must be an odd number, and is generally recommended to be 3.
count: 3
count: {{ .Values.cephCluster.mon.count }}
# The mons should be on unique nodes. For production, at least 3 nodes are recommended for this reason.
# Mons should only be allowed on the same node for test environments where data loss is acceptable.
# allowMultiplePerNode: false
allowMultiplePerNode: {{ .Values.cephCluster.mon.allowMultiplePerNode }}
mgr:
modules:
# Several modules should not need to be included in this list. The "dashboard" and "monitoring" modules
Expand Down Expand Up @@ -252,4 +252,4 @@ spec:
mgr: {}
# disabled: false
osd: {}
# disabled: false
# disabled: false
8 changes: 4 additions & 4 deletions config/ceph/templates/filesystem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ spec:
# The metadata pool spec. Must use replication.
metadataPool:
replicated:
size: 3
requireSafeReplicaSize: true
size: {{ .Values.cephFilesystem.metadataPool.replicated.size }}
requireSafeReplicaSize: {{ .Values.cephFilesystem.metadataPool.replicated.requireSafeReplicaSize }}
parameters:
# Inline compression mode for the data pool
# Further reference: https://docs.ceph.com/docs/nautilus/rados/configuration/bluestore-config-ref/#inline-compression
Expand All @@ -26,10 +26,10 @@ spec:
dataPools:
- failureDomain: host
replicated:
size: 3
size: {{ .Values.cephFilesystem.dataPools.replicated.size }}
# Disallow setting pool with replica 1, this could lead to data loss without recovery.
# Make sure you're *ABSOLUTELY CERTAIN* that is what you want
requireSafeReplicaSize: true
requireSafeReplicaSize: {{ .Values.cephFilesystem.dataPools.replicated.requireSafeReplicaSize }}
parameters:
# Inline compression mode for the data pool
# Further reference: https://docs.ceph.com/docs/nautilus/rados/configuration/bluestore-config-ref/#inline-compression
Expand Down
17 changes: 17 additions & 0 deletions config/ceph/values-sno.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# -----------------------------------------------------------------------------
# Ceph rook parameters
# -----------------------------------------------------------------------------
cephCluster:
mon:
count: 1
allowMultiplePerNode: true

cephFilesystem:
metadataPool:
replicated:
size: 1
requireSafeReplicaSize: false
dataPools:
replicated:
size: 1
requireSafeReplicaSize: false
14 changes: 14 additions & 0 deletions config/ceph/values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# -----------------------------------------------------------------------------
# Ceph rook parameters
# -----------------------------------------------------------------------------
cephCluster:
mon:
count: 3
allowMultiplePerNode: false

cephFilesystem:
metadataPool:
replicated:
size: 3
requireSafeReplicaSize: true
dataPools:
replicated:
size: 3
requireSafeReplicaSize: true
4 changes: 2 additions & 2 deletions config/cp-shared/operators/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.5.0
version: 3.7.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: "3.5"
appVersion: "3.7"

1 change: 1 addition & 0 deletions config/cp4waiops-custom/templates/custom-size.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
annotations:
argocd.argoproj.io/sync-wave: "-1"
name: aiops-custom-size-profile
namespace: {{ .Values.aiManager.namespace }}
data:
profiles: |
generatedFor: "NonHA"
Expand Down
3 changes: 2 additions & 1 deletion config/cp4waiops-custom/templates/x-small-idle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
annotations:
argocd.argoproj.io/sync-wave: "-1"
name: aiops-custom-size-profile
namespace: {{ .Values.aiManager.namespace }}
data:
profiles: |
generatedFor: "NonHA"
Expand Down Expand Up @@ -592,4 +593,4 @@ spec:
serviceAccountRef:
name: resource-locker-operator-controller-manager

{{- end }}
{{- end }}
3 changes: 2 additions & 1 deletion config/cp4waiops-custom/templates/x-small.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
annotations:
argocd.argoproj.io/sync-wave: "-1"
name: aiops-custom-size-profile
namespace: {{ .Values.aiManager.namespace }}
data:
profiles: |
generatedFor: "NonHA"
Expand Down Expand Up @@ -506,4 +507,4 @@ spec:
namespace: {{.Values.aiManager.namespace}}
serviceAccountRef:
name: resource-locker-operator-controller-manager
{{- end }}
{{- end }}
4 changes: 2 additions & 2 deletions config/cp4waiops/install-aimgr/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.5.0
version: 3.7.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: "3.5"
appVersion: "3.7"

2 changes: 1 addition & 1 deletion config/cp4waiops/install-aimgr/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
## A channel defines a stream of updates for an Operator and is used to roll out updates for subscribers.
## For example, if you want to install AI Manager 3.2, the channel should be v3.2
##
channel: v3.5
channel: v3.7

## size is the size that you require for your AI Manager installation. It can be small or large.
## More information: https://www.ibm.com/docs/en/cloud-paks/cloud-pak-watson-aiops/3.2.0?topic=requirements-ai-manager
Expand Down
4 changes: 2 additions & 2 deletions config/cp4waiops/install-emgr/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.5.0
version: 3.7.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: "3.5"
appVersion: "3.7"

Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ spec:
antiAffinity: false
imagePullPolicy: IfNotPresent
imagePullRepository: cp.icr.io/cp/noi
zen:
serviceInstanceName: iaf-zen-cpdservice
serviceNamespace: ''
serviceContinuity:
continuousAnalyticsCorrelation: false
isBackupDeployment: false
Expand Down
4 changes: 2 additions & 2 deletions config/cp4waiops/install-emgr/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
eventManager:

# eventManager version
version: 1.6.6
version: 1.6.8

## Use the fully qualified domain name (FQDN) to formulate the clusterDomain property, using the following formula:
##
Expand All @@ -44,7 +44,7 @@ spec:
## A channel defines a stream of updates for an Operator and is used to roll out updates for subscribers.
## For example, if you want to install Evemt Manager 1.5, the channel should be v1.5
##
channel: v1.10
channel: v1.12

## Deployment type (trial or production)
##
Expand Down