Comments (4)
@kurtismullins during testing, defined the following CR and was able to successfully make use of OCS (using Quay v3.1.3)
spec:
quay:
registryBackends:
- name: rhocs
rhocs:
accessKey: OMITTED
bucketName: quay-0dd68a8a-457f-4da9-9807-ca5c4c941e99
secretKey: OMITTED
hostname: OMITTED
secure: true
port: 443
from quay-operator.
Thank you for updating the documentation.
Additional testing has been done with the updated documentation and operator. From what I understand, the Quay pod is not deployed when configuring S3 or Google Cloud with secrets in a secrets file.
However, it does appear to work correctly if the secrets are included in the CR directly.
Error Output:
{"level":"info","ts":1576830630.295516,"logger":"controller_quayecosystem","msg":"Reconciling QuayEcosystem","Request.Namespace":"quay-app","Request.Name":"quay-test-320"}
{"level":"error","ts":1576830630.295652,"logger":"controller_quayecosystem","msg":"Secret Validation","Namespace":"quay-app","Name":"s3-account","error":"Failed to validate provided secret with required parameters","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/home/travis/gopath/pkg/mod/github.com/go-logr/[email protected]/zapr.go:128\ngithub.com/redhat-cop/quay-operator/pkg/controller/quayecosystem/validation.validateSecret\n\t/home/travis/gopath/src/github.com/redhat-cop/quay-operator/pkg/controller/quayecosystem/validation/validate.go:525\ngithub.com/redhat-cop/quay-operator/pkg/controller/quayecosystem/validation.Validate\n\t/home/travis/gopath/src/github.com/redhat-cop/quay-operator/pkg/controller/quayecosystem/validation/validate.go:236\ngithub.com/redhat-cop/quay-operator/pkg/controller/quayecosystem.(*ReconcileQuayEcosystem).Reconcile\n\t/home/travis/gopath/src/github.com/redhat-cop/quay-operator/pkg/controller/quayecosystem/quayecosystem_controller.go:126\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/travis/gopath/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:216\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/travis/gopath/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:192\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/home/travis/gopath/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:171\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/home/travis/gopath/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:152\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/home/travis/gopath/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:153\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/home/travis/gopath/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:88"}
from quay-operator.
Resolved per #120
from quay-operator.
Still receive this error, config
spec:
registryBackends:
- name: rhocs
rhocs:
credentialsSecretName: s3-credentials
bucketName: quay-bucket-2649ee59-66cd-4ebd-92cf-223533aa3b78
hostname: s3.openshift-storage.svc
secure: true
port: 443
Specifying accessKey/secretKey gets passed thru the validation:
# credentialsSecretName: s3-credentials
accessKey: *******
secretKey: *******
from quay-operator.
Related Issues (20)
- Role "skynet-quay-database" does not exist HOT 4
- quay-operator-index not available HOT 1
- Quay and Nooba, .spec.ObjectBucketName: field not declared in schema HOT 8
- Quay config secret not found, when creating quay instance
- trying to deploy quay-operator from readme instructions, access denied to operator image HOT 2
- Updating package version in go.sum breaks go module dependency HOT 1
- Hugepages support doesn't appear to work correctly HOT 2
- postgres and redis container images anywhere but dockerhub HOT 7
- [Question] Licensing HOT 2
- Related image environment variable for operator HOT 1
- Missing Service for operator HOT 4
- Can't override affinity for quay-app-upgrade Job
- serviceAccountName is missing from PodSpec in quay-config-editor Deployment
- Community Operator Stable Channel 3.8 not working HOT 2
- Resource configuration for internal database deployments incorrect HOT 2
- Installation stuck at "mkdir: cannot create directory '/var/lib/pgsql/data/userdata': Permission denied" HOT 3
- Unable to override matcher.period
- How do you modify the CPU request? HOT 1
- Questions about high availability HOT 1
- FEATURE REQUEST - Integration Quay & Stackrox (ACS)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quay-operator.