Skip to content

unable to install on 1.28.* #2

@zozo6015

Description

@zozo6015

When I try to install this on a 1.28.* cluster I get the following error message:

 kubectl apply -k ./
# Warning: 'bases' is deprecated. Please use 'resources' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
serviceaccount/secret-sync-operator created
clusterrole.rbac.authorization.k8s.io/secret-sync-operator created
clusterrolebinding.rbac.authorization.k8s.io/secret-sync-operator created
deployment.apps/secret-sync-operator created
error: resource mapping not found for name: "synchronizedsecrets.app.gamesight.io" namespace: "" from "./": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first

I have tried changing the synchronizedsecrets.app.gamesight.io api to v1 in order to match the clusters api version then I get the following error:

kubectl apply -k ./
# Warning: 'bases' is deprecated. Please use 'resources' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
serviceaccount/secret-sync-operator unchanged
clusterrole.rbac.authorization.k8s.io/secret-sync-operator configured
clusterrolebinding.rbac.authorization.k8s.io/secret-sync-operator unchanged
deployment.apps/secret-sync-operator configured
Error from server (BadRequest): error when creating "./": CustomResourceDefinition in version "v1" cannot be handled as a CustomResourceDefinition: strict decoding error: unknown field "spec.subresources", unknown field "spec.validation", unknown field "spec.version"

This project is interesting and very usefull for multisite deployments therefore I would love to see this updated so that it works with newer versions of kubernetes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions