Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions manifests/0000_10_config-operator_06_configmap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v1
kind: ConfigMap
metadata:
namespace: openshift-config-operator
name: openshift-config-operator-config
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
include.release.openshift.io/single-node-developer: "true"
config.openshift.io/inject-tls: "true"
data:
config.yaml: |
apiVersion: operator.openshift.io/v1alpha1
kind: GenericOperatorConfig
9 changes: 9 additions & 0 deletions manifests/0000_10_config-operator_07_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ spec:
- name: available-featuregates
emptyDir:
sizeLimit: 100Mi
- name: config
configMap:
name: openshift-config-operator-config
initContainers:
- name: openshift-api
securityContext:
Expand Down Expand Up @@ -75,6 +78,10 @@ spec:
command:
- cluster-config-operator
- operator
- --config=/var/run/configmaps/config/config.yaml
- --terminate-on-files=/var/run/configmaps/config/config.yaml
- --terminate-on-files=/var/run/secrets/serving-cert/tls.crt
- --terminate-on-files=/var/run/secrets/serving-cert/tls.key
- --operator-version=$(OPERATOR_IMAGE_VERSION)
- --authoritative-feature-gate-dir=/available-featuregates
ports:
Expand Down Expand Up @@ -104,6 +111,8 @@ spec:
name: serving-cert
- mountPath: /available-featuregates
name: available-featuregates
- mountPath: /var/run/configmaps/config
name: config
env:
- name: IMAGE
value: quay.io/openshift/origin-cluster-config-operator:v4.0
Expand Down