Skip to content

Commit

Permalink
✨ add default conversion review versions
Browse files Browse the repository at this point in the history
The conversion webhook client config requires a list
of conversion review versions. This change scaffolds the
conversion webhook patch with default conversion review version
of v1.

Signed-off-by: varshaprasad96 <varshaprasad96@gmail.com>
  • Loading branch information
varshaprasad96 committed May 11, 2021
1 parent 2b857cb commit 2805b11
Show file tree
Hide file tree
Showing 18 changed files with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,7 @@ spec:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- {{ .Resource.API.CRDVersion }}
{{- end }}
`
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ spec:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ spec:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ spec:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ spec:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ spec:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ spec:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ spec:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ spec:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ spec:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ spec:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ spec:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ spec:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ spec:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ spec:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ spec:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ spec:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ spec:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1

0 comments on commit 2805b11

Please sign in to comment.