Giter Site home page Giter Site logo

Comments (8)

Szymongib avatar Szymongib commented on June 19, 2024

Hey, thanks for reporting the issue.

The namespaces are populated thanks to -n mattermost-operator. I think there used to be some idea to make namespace configurable that is why the metadata.namespace was not set, but indeed it does not make much sense due to the Cluster Rolebinding subject.

I will fix it with the upcoming release.

from mattermost-operator.

felix-dpg avatar felix-dpg commented on June 19, 2024

Yes, is not make sense because there are resource that you cant apply the namespace if you follow the way in that you apply the mattermost yamls.

from mattermost-operator.

felix-dpg avatar felix-dpg commented on June 19, 2024

Hey:

Also the yamls of CRD are...wrong??

Problem:

In the docs say that learn more about CRD here:

https://github.com/mattermost/mattermost-operator/blob/master/config/crd/bases/installation.mattermost.com_mattermosts.yaml

In the yaml doc CRD, there is a different definition for ingress option, also in this same doc say:

description: 'IngressAnnotations defines annotations passed to the Ingress associated with Mattermost. Deprecated: Use Spec.Ingress.Annotations.'

But in the main page of your k8s installation the file that contain CRDs is different, and of course, the ingress definition is different: Here, need to be spec.ingressAnnotations instead of Spec.Ingress.Annotations.

https://raw.githubusercontent.com/mattermost/mattermost-operator/master/docs/mattermost-operator/mattermost-operator.yaml

              ingressAnnotations:
                additionalProperties:
                  type: string
                type: object
              ingressName:
                description: IngressName defines the name to be used when creating
                  the ingress rules
                type: string

Other question is that why mattermost does not give us the possibility defining Kind: Mattermost to select the servicetype, NodePort for example, instead of the need to create the services by ourself.

from mattermost-operator.

Szymongib avatar Szymongib commented on June 19, 2024

The CRDs here https://raw.githubusercontent.com/mattermost/mattermost-operator/master/docs/mattermost-operator/mattermost-operator.yaml are aligned with the latest released version while those https://github.com/mattermost/mattermost-operator/blob/master/config/crd/bases/installation.mattermost.com_mattermosts.yaml contain changes from master.

When we do the release the whole installation file is generated from other files so that is when they will be updated.

from mattermost-operator.

felix-dpg avatar felix-dpg commented on June 19, 2024

So, why not allign the CRD docs with the main docs if at the end is the release that we will apply?

from mattermost-operator.

Szymongib avatar Szymongib commented on June 19, 2024

Sorry, not sure if I follow your suggestion, do you mean updating documentation to link to https://raw.githubusercontent.com/mattermost/mattermost-operator/master/docs/mattermost-operator/mattermost-operator.yaml instead of https://github.com/mattermost/mattermost-operator/blob/master/config/crd/bases/installation.mattermost.com_mattermosts.yaml ?

from mattermost-operator.

felix-dpg avatar felix-dpg commented on June 19, 2024

I mean update the CRD docs with the same CRDs that appear here https://github.com/mattermost/mattermost-operator/blob/master/config/crd/bases/installation.mattermost.com_mattermosts.yaml.

from mattermost-operator.

Szymongib avatar Szymongib commented on June 19, 2024

Yeah, as I mentioned it happens during the release as the old Operator would not understand changes in the CRD.

from mattermost-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.