Giter Site home page Giter Site logo

Comments (4)

sabre1041 avatar sabre1041 commented on August 16, 2024

@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.

kurtismullins avatar kurtismullins commented on August 16, 2024

@sabre1041

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.

sabre1041 avatar sabre1041 commented on August 16, 2024

Resolved per #120

from quay-operator.

gorantornqvist avatar gorantornqvist commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.