Fix upstream install path

Note that this added the required attribute spec.deployment_type. This _can_ go
away after the supervisor configs move back into the downstream images, but the
pattern may prove useful for other things in the future.
This commit is contained in:
Shane McDonald
2020-06-02 20:07:45 -04:00
parent 9dd54e44a3
commit 736aeb6c07
7 changed files with 24 additions and 9 deletions

View File

@@ -18,3 +18,16 @@ spec:
- name: v1alpha1
served: true
storage: true
validation:
openAPIV3Schema:
description: Schema validation for the Tower CRD
type: object
properties:
spec:
type: object
properties:
deployment_type:
type: string
pattern: "^(tower|awx)(-)?.*$"
required:
- deployment_type