Comments (2)
I tried the dry-run yaml one by one, and the failure is caused by apiVersion: admissionregistration.k8s.io/v1beta1
[root@st2 KUDO]# cat <<EOF | kubectl apply -f -
> apiVersion: admissionregistration.k8s.io/v1beta1
> kind: MutatingWebhookConfiguration
> metadata:
> annotations:
> cert-manager.io/inject-ca-from: kudo-system/kudo-webhook-server-certificate
> creationTimestamp: null
> name: kudo-manager-instance-admission-webhook-config
> webhooks:
> - clientConfig:
> service:
> name: kudo-controller-manager-service
> namespace: kudo-system
> path: /admit-kudo-dev-v1beta1-instance
> failurePolicy: Fail
> matchPolicy: Equivalent
> name: instance-admission.kudo.dev
> rules:
> - apiGroups:
> - kudo.dev
> apiVersions:
> - v1beta1
> operations:
> - CREATE
> - UPDATE
> resources:
> - instances
> scope: Namespaced
> sideEffects: None
> EOF
I0531 01:32:21.709267 1057611 request.go:621] Throttling request took 1.180783366s, request: GET:https://api.b-10.example.com:6443/apis/lighthouse.submariner.io/v2alpha1?timeout=32s
error: unable to recognize "STDIN": no matches for kind "MutatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1"
from kudo.
When I changed it to apiVersion: admissionregistration.k8s.io/v1
, it works
[root@st2 KUDO]# cat <<EOF | kubectl apply -f -
> apiVersion: admissionregistration.k8s.io/v1
> kind: MutatingWebhookConfiguration
> metadata:
> annotations:
> cert-manager.io/inject-ca-from: kudo-system/kudo-webhook-server-certificate
> creationTimestamp: null
> name: kudo-manager-instance-admission-webhook-config
> webhooks:
> - clientConfig:
> service:
> name: kudo-controller-manager-service
> namespace: kudo-system
> path: /admit-kudo-dev-v1beta1-instance
> failurePolicy: Fail
> matchPolicy: Equivalent
> name: instance-admission.kudo.dev
> rules:
> - apiGroups:
> - kudo.dev
> apiVersions:
> - v1beta1
> operations:
> - CREATE
> - UPDATE
> resources:
> - instances
> scope: Namespaced
> sideEffects: None
> admissionReviewVersions: ["v1", "v1beta1"]
> EOF
I0531 01:43:25.570267 1060221 request.go:621] Throttling request took 1.181808496s, request: GET:https://api.b-10.example.com:6443/apis/view.open-cluster-management.io/v1beta1?timeout=32s
mutatingwebhookconfiguration.admissionregistration.k8s.io/kudo-manager-instance-admission-webhook-config created
[root@st2 KUDO]#
from kudo.
Related Issues (20)
- Operator upgrade fails after making one of the parameters immutable
- Unexpected handling of integer/long parameters HOT 4
- Operator tests have an unversioned depenency on kudobuilder/operators
- Documentation incorrect for 'kubectl kudo plan trigger' HOT 1
- upgrade-test is flaky in CI, pods are not scheduled in the faulty runs HOT 1
- Prevent deletion of certain resources when uninstalling an instance
- KUDO trying to expand a configmap file's variables, causing it to not install the operator
- Allow KUDO to apply all files in a folder, without having to manually list out each file individually.
- Look into Failure for Cluster Teardown HOT 1
- support kubectl annotate
- Support nodeselector in kudo init HOT 2
- Error in doc : uninstall kudo command needs '--upgrade' option
- error: unable to recognize "kudo.yaml": no matches for kind "MutatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1" HOT 5
- Failed to install first-operator example to OpenShift 4.10.13
- first-operator install failed on OCP 4.7.45
- first-operator sample pipe-task does not work on OCP 4.7.45
- Project abandoned? HOT 5
- KUDO Operator Framework Limitations?
- CNCF TOC annual review due HOT 3
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 kudo.