Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/operator/api/v1alpha3/clientintents_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ type IntentsStatus struct {
//+kubebuilder:subresource:status

// ClientIntents is the Schema for the intents API
// +kubebuilder:pruning:PreserveUnknownFields
type ClientIntents struct {
metav1.TypeMeta `json:",inline" yaml:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
Expand Down
1 change: 1 addition & 0 deletions src/operator/api/v1beta1/clientintents_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ type IntentsStatus struct {
//+kubebuilder:subresource:status

// ClientIntents is the Schema for the intents API
// +kubebuilder:pruning:PreserveUnknownFields
type ClientIntents struct {
metav1.TypeMeta `json:",inline" yaml:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
Expand Down
1 change: 1 addition & 0 deletions src/operator/api/v2alpha1/clientintents_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ type IntentsStatus struct {
//+kubebuilder:storageversion

// ClientIntents is the Schema for the intents API
// +kubebuilder:pruning:PreserveUnknownFields
type ClientIntents struct {
metav1.TypeMeta `json:",inline" yaml:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
Expand Down
1 change: 1 addition & 0 deletions src/operator/api/v2beta1/clientintents_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ type IntentsStatus struct {
//+kubebuilder:subresource:status

// ClientIntents is the Schema for the intents API
// +kubebuilder:pruning:PreserveUnknownFields
type ClientIntents struct {
metav1.TypeMeta `json:",inline" yaml:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ spec:
type: boolean
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
served: true
storage: false
subresources:
Expand Down Expand Up @@ -702,6 +703,7 @@ spec:
type: boolean
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
served: true
storage: false
subresources:
Expand Down Expand Up @@ -1033,6 +1035,7 @@ spec:
type: boolean
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
served: true
storage: true
subresources:
Expand Down Expand Up @@ -1364,6 +1367,7 @@ spec:
type: boolean
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
served: true
storage: false
subresources:
Expand Down
4 changes: 4 additions & 0 deletions src/operator/config/crd/k8s.otterize.com_clientintents.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ spec:
type: boolean
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
served: true
storage: false
subresources:
Expand Down Expand Up @@ -691,6 +692,7 @@ spec:
type: boolean
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
served: true
storage: false
subresources:
Expand Down Expand Up @@ -1024,6 +1026,7 @@ spec:
type: boolean
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
served: true
storage: true
subresources:
Expand Down Expand Up @@ -1357,6 +1360,7 @@ spec:
type: boolean
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
served: true
storage: false
subresources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ spec:
type: boolean
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
served: true
storage: false
subresources:
Expand Down Expand Up @@ -702,6 +703,7 @@ spec:
type: boolean
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
served: true
storage: false
subresources:
Expand Down Expand Up @@ -1033,6 +1035,7 @@ spec:
type: boolean
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
served: true
storage: true
subresources:
Expand Down Expand Up @@ -1364,6 +1367,7 @@ spec:
type: boolean
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
served: true
storage: false
subresources:
Expand Down
92 changes: 33 additions & 59 deletions src/shared/otterizecloud/graphqlclient/generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/shared/otterizecloud/graphqlclient/genqlient.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mutation ReportAppliedKubernetesIntents($namespace: String!,$intents: [IntentInp
}

mutation ReportNetworkPolicies($namespace: String!, $policies: [NetworkPolicyInput!]!) {
reportNetworkPolicies(namespace: $namespace, policies: $policies)
reportNetworkPolicies(namespace: $namespace, networkPolicies: $policies)
}

mutation ReportIntentsOperatorConfiguration($configuration: IntentsOperatorConfigurationInput!) {
Expand Down
Loading
Loading