diff --git a/ansible/templates/crd.yml.j2 b/ansible/templates/crd.yml.j2 index 9a23d393..961ade74 100644 --- a/ansible/templates/crd.yml.j2 +++ b/ansible/templates/crd.yml.j2 @@ -384,7 +384,7 @@ spec: setting: type: string value: - type: string + x-kubernetes-preserve-unknown-fields: true type: object type: array type: object diff --git a/bundle.Dockerfile b/bundle.Dockerfile index f78084ba..17fe97cd 100644 --- a/bundle.Dockerfile +++ b/bundle.Dockerfile @@ -6,9 +6,9 @@ LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/ LABEL operators.operatorframework.io.bundle.package.v1=awx-operator LABEL operators.operatorframework.io.bundle.channels.v1=alpha LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha +LABEL operators.operatorframework.io.metrics.project_layout=ansible LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1 LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v0.19.4 -LABEL operators.operatorframework.io.metrics.project_layout=ansible COPY deploy/olm-catalog/awx-operator/manifests /manifests/ COPY deploy/olm-catalog/awx-operator/metadata /metadata/ diff --git a/deploy/awx-operator.yaml b/deploy/awx-operator.yaml index 1888b7a7..fd9423f5 100644 --- a/deploy/awx-operator.yaml +++ b/deploy/awx-operator.yaml @@ -386,7 +386,7 @@ spec: setting: type: string value: - type: string + x-kubernetes-preserve-unknown-fields: true type: object type: array type: object diff --git a/deploy/crds/awx_v1beta1_crd.yaml b/deploy/crds/awx_v1beta1_crd.yaml index 9a23d393..961ade74 100644 --- a/deploy/crds/awx_v1beta1_crd.yaml +++ b/deploy/crds/awx_v1beta1_crd.yaml @@ -384,7 +384,7 @@ spec: setting: type: string value: - type: string + x-kubernetes-preserve-unknown-fields: true type: object type: array type: object diff --git a/deploy/olm-catalog/awx-operator/manifests/awx.ansible.com_awxs_crd.yaml b/deploy/olm-catalog/awx-operator/manifests/awx.ansible.com_awxs_crd.yaml index 79d097f9..6c174639 100644 --- a/deploy/olm-catalog/awx-operator/manifests/awx.ansible.com_awxs_crd.yaml +++ b/deploy/olm-catalog/awx-operator/manifests/awx.ansible.com_awxs_crd.yaml @@ -104,7 +104,7 @@ spec: setting: type: string value: - type: string + x-kubernetes-preserve-unknown-fields: true type: object type: array extra_volumes: @@ -156,7 +156,7 @@ spec: description: Registry path to the init container to use type: string init_container_image_version: - description: Initcontainer image version to use + description: Init container image version to use type: string kind: description: Kind of the deployment type diff --git a/roles/installer/templates/config.yaml.j2 b/roles/installer/templates/config.yaml.j2 index d9b7d5d8..fb493311 100644 --- a/roles/installer/templates/config.yaml.j2 +++ b/roles/installer/templates/config.yaml.j2 @@ -90,11 +90,7 @@ data: BROADCAST_WEBSOCKET_PROTOCOL = 'http' {% for item in extra_settings | default([]) %} -{% if item.value is string %} - {{ item.setting }} = '{{ item.value }}' -{% else %} {{ item.setting }} = {{ item.value }} -{% endif %} {% endfor %} nginx_conf: |