-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.8
-
Quality / Stability / Reliability
-
None
-
None
-
None
-
Low
-
None
-
Unspecified
-
None
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
None
-
None
-
None
-
None
-
None
Description of problem:
Current CouchbaseCluster example has invalid image:
apiVersion: couchbase.com/v2
kind: CouchbaseCluster
metadata:
name: cb-example
namespace: test-operators
spec:
security:
adminSecret: cb-example-auth
rbac:
managed: true
selector:
matchLabels:
cluster: cb-example
backup:
serviceAccountName: couchbase-backup
image: >-
registry.connect.redhat.com/couchbase/operator-backup@sha256:3d0a9de740110b924b1ad5e83bb1e36b308f1b53f9e76a50cffcbeda9d34ea78
managed: false
selector:
matchLabels:
cluster: cb-example
enablePreviewScaling: false
recoveryPolicy: PrioritizeDataIntegrity
monitoring:
prometheus:
enabled: false
image: >-
registry.connect.redhat.com/couchbase/exporter@sha256:18015c72d17a33a21ea221d48fddf493848fc1ca5702007f289369c5815fb3df
hibernationStrategy: Immediate
buckets:
managed: true
selector:
matchLabels:
cluster: cb-example
upgradeStrategy: RollingUpgrade
servers:
- size: 3
name: all_services
services: - data
- index
- query
- search
- eventing
- analytics
hibernate: false
networking:
adminConsoleServices: - data
adminConsoleServiceType: NodePort
exposeAdminConsole: true
exposedFeatureServiceType: NodePort
exposedFeatures: - xdcr
cluster:
autoFailoverTimeout: 120s
autoFailoverOnDataDiskIssues: true
clusterName: cb-example
indexStorageSetting: memory_optimized
analyticsServiceMemoryQuota: 1Gi
eventingServiceMemoryQuota: 256Mi
searchServiceMemoryQuota: 256Mi
autoFailoverMaxCount: 3
dataServiceMemoryQuota: 256Mi
autoFailoverOnDataDiskIssuesTimePeriod: 120s
indexServiceMemoryQuota: 256Mi
autoCompaction:
databaseFragmentationThreshold:
percent: 30
size: 1Gi
parallelCompaction: false
timeWindow:
abortCompactionOutsideWindow: true
end: '06:00'
start: '02:00'
tombstonePurgeInterval: 72h
viewFragmentationThreshold:
percent: 30
size: 1Gi
autoFailoverServerGroup: false
xdcr:
managed: false
selector:
matchLabels:
cluster: cb-example
image: >-
registry.connect.redhat.com/couchbase/server@sha256:fd6d9c0ef033009e76d60dc36f55ce7f3aaa942a7be9c2b66c335eabc8f5b11e
logRetentionTime: 604800s
logRetentionCount: 20
status:
size: 0
Fix the following errors:
Error "Invalid value: "registry.connect.redhat.com/couchbase/exporter@sha256:18015c72d17a33a21ea221d48fddf493848fc1ca5702007f289369c5815fb3df": spec.monitoring.prometheus.image in body should match '^[\w_\.\-/][\w\d]
)?\d+\.\d+.\d+([\w\d]+)?$'" for field "spec.monitoring.prometheus.image".
Version-Release number of selected component (if applicable):
2.1.0 provided by Couchbase
OCP: 4.8.0-0.nightly-2021-05-19-092807
How reproducible:
Always
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info: