Skip to content

Commit

Permalink
Merge pull request #407 from DataDog/vboulineau/v2notserved
Browse files Browse the repository at this point in the history
Do not serve v2alpha1 as schema not defined yet
  • Loading branch information
vboulineau committed Nov 26, 2021
2 parents 3ad0c7b + c0a2661 commit 7c0c8a2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions apis/datadoghq/v2alpha1/datadogagent_types.go
Expand Up @@ -202,6 +202,7 @@ type DatadogAgentStatus struct {
// DatadogAgent Deployment with the Datadog Operator.
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:unservedversion
// +kubebuilder:resource:path=datadogagents,shortName=dd
// +kubebuilder:printcolumn:name="active",type="string",JSONPath=".status.conditions[?(@.type=='Active')].status"
// +kubebuilder:printcolumn:name="agent",type="string",JSONPath=".status.agent.status"
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/v1/datadoghq.com_datadogagents.yaml
Expand Up @@ -15160,7 +15160,7 @@ spec:
type: object
type: object
type: object
served: true
served: false
storage: false
subresources:
status: {}
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/v1beta1/datadoghq.com_datadogagents.yaml
Expand Up @@ -11364,7 +11364,7 @@ spec:
served: true
storage: true
- name: v2alpha1
served: true
served: false
storage: false
status:
acceptedNames:
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Expand Up @@ -3,6 +3,6 @@ resources:
images:
- name: controller
newName: gcr.io/datadoghq/operator
newTag: 0.7.1
newTag: 0.7.2
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

0 comments on commit 7c0c8a2

Please sign in to comment.