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

Specifiy Apicurio Registry Image (or version) #176

Open
redsk opened this issue May 24, 2022 · 4 comments
Open

Specifiy Apicurio Registry Image (or version) #176

redsk opened this issue May 24, 2022 · 4 comments
Assignees

Comments

@redsk
Copy link

redsk commented May 24, 2022

Is there a way to do this? I need to upgrade the Apicurio Registry to a version >= 2.1.4.Final due to this issue.

EDIT: Is it possible to specify other parameters such as deployment's readiness and liveness probes initial delay?

@jsenko
Copy link
Member

jsenko commented May 25, 2022

hi, you can try to specify an image using spec.deployment.image property in the ApicurioRegistry CR.
As to the second question, Operator itself does not currently support that, but you can open a new issue or contribute. This could possibly be a more general feature to tell it to modify the Deployemetn in some generic way. The only way to do that at the moment that I can think of is to modify the pod template in the Deployment after the Operator created it and add initialDelaySeconds.

@uqix
Copy link

uqix commented Sep 9, 2022

@jsenko

dry-run failed, error: failed to create typed patch object: .spec.deployment.image: field not declared in schema

@Pablo-platypus
Copy link

same issue here, maybe we can build and deploy the operator manually instead of using operatorhub.io? We can edit the version to be used under the install/.yaml? Any advice or pointers on this?

@marcosschroh
Copy link

Sorry, but the documentation is absolutely terrible. It would be so nice when someone decides to open source a project that documentation is a key point. To override the image you should do:

apiVersion: registry.apicur.io/v1
kind: ApicurioRegistry
metadata:
  name: des-apicurioregistry-mem
spec:
  configuration:
    persistence: "mem" # Optional (default value)
    # NOTE: No additional configuration required for *dev* deployment

    # ui:
    #   readOnly: true

    env:
      - name: AUTH_ENABLED
        value: "true"
      - name: AUTHZ_ENABLED
        value: "true"
      ...
  
  deployment:
    image: quay.io/apicurio/apicurio-registry-mem:2.5.11.Final
    ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants