Skip to content

Commit

Permalink
Remove validation from crd
Browse files Browse the repository at this point in the history
because it seems like it's not supported by kubernetes 1.9: kubernetes/kubernetes#59485 (comment)
  • Loading branch information
sullerandras committed Mar 5, 2018
1 parent a250e12 commit 52f32b5
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions sealedsecret-crd.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -17,33 +17,6 @@ local crd = {
plural: self.singular + "s",
listKind: self.kind + "List",
},
validation: {
openAPIV3Schema: {
"$schema": "http://json-schema.org/draft-04/schema#",
type: "object",
description: "A sealed (encrypted) Secret",
properties: {
spec: {
type: "object",
properties: {
data: {
type: "string",
pattern: "^[A-Za-z0-9+/=]*$", // base64
},
encryptedData: {
type: "object",
patternProperties: {
"^.*$": {
pattern: "^[A-Za-z0-9+/=]*$", // base64
type: "string",
},
},
},
},
},
},
},
},
},
};

Expand Down

0 comments on commit 52f32b5

Please sign in to comment.