Skip to content

Commit

Permalink
config: fix crd validation and sample annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
joelanford committed Jun 24, 2020
1 parent 242d4f5 commit 82670d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ spec:
spec:
description: NginxSpec defines the desired state of Nginx
type: object
x-kubernetes-preserve-unknown-fields: true
status:
description: NginxStatus defines the observed state of Nginx
type: object
x-kubernetes-preserve-unknown-fields: true
type: object
served: true
storage: true
Expand Down
8 changes: 4 additions & 4 deletions example/config/samples/helm_v1_nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ kind: Nginx
metadata:
name: nginx-sample
annotations:
helm.sdk.operatorframework.io/upgrade-force: "true"
helm.sdk.operatorframework.io/install-disable-hooks: "true"
helm.sdk.operatorframework.io/upgrade-disable-hooks: "true"
helm.sdk.operatorframework.io/uninstall-disable-hooks: "true"
helm.operator-sdk/upgrade-force: "true"
helm.operator-sdk/install-disable-hooks: "true"
helm.operator-sdk/upgrade-disable-hooks: "true"
helm.operator-sdk/uninstall-disable-hooks: "true"
spec:
replicaCount: 1
image:
Expand Down

0 comments on commit 82670d1

Please sign in to comment.