Revolyssup commented on issue #2067:
URL:
https://github.com/apache/apisix-ingress-controller/issues/2067#issuecomment-1826880088
@techcheckri It is weird that `apisixglobalrule` crd is not installed though
it is packaged with the helm chart. Did you get any error while upgrading?
For a quick fix, can you put the below content in a file and use kubectl
apply to install this CRD manually.
```yaml
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
labels:
apisix.apache.org/app: ingress-apisix
name: apisixglobalrules.apisix.apache.org
spec:
group: apisix.apache.org
names:
kind: ApisixGlobalRule
plural: apisixglobalrules
shortNames:
- agr
singular: apisixglobalrule
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .metadata.creationTimestamp
name: Age
priority: 0
type: date
name: v2
schema:
openAPIV3Schema:
properties:
spec:
properties:
ingressClassName:
type: string
plugins:
items:
properties:
config:
type: object
x-kubernetes-preserve-unknown-fields: true
enable:
type: boolean
name:
minLength: 1
type: string
secretRef:
type: string
type: object
required:
- name
- enable
type: array
required:
- plugins
type: object
status:
properties:
conditions:
items:
properties:
message:
type: string
observedGeneration:
type: integer
reason:
type: string
status:
type: string
type:
type: string
type: object
type: array
type: object
type: object
served: true
storage: true
subresources:
status: {}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]