[Installer] Should update openshift_examples files M M Description of problem: Please update openshift_examples files How reproducible: Always Steps to Reproduce: There are some openshift examples files created while installing need to be updated. such as: https://github.com/openshift/openshift-ansible/tree/master/roles/openshift_examples/files/examples/v1.3/infrastructure-templates/enterprise/metrics-deployer.yaml, it should be updated base on https://github.com/openshift/origin-metrics/blame/enterprise/metrics.yaml https://github.com/openshift/openshift-ansible/blob/master/roles/openshift_examples/files/examples/v1.3/infrastructure-templates/origin/metrics-deployer.yaml, it should be updated base on https://github.com/openshift/origin-metrics/blob/master/metrics.yaml # diff metrics-deployer.yaml metrics.yaml 36a37 > securityContext: {} 39a41 > securityContext: {} 50a53,56 > - name: POD_NAME > valueFrom: > fieldRef: > fieldPath: metadata.name 60a67,68 > - name: IGNORE_PREFLIGHT > value: ${IGNORE_PREFLIGHT} 62a71,72 > - name: DYNAMICALLY_PROVISION_STORAGE > value: ${DYNAMICALLY_PROVISION_STORAGE} 70a81,84 > - name: USER_WRITE_ACCESS > value: ${USER_WRITE_ACCESS} > - name: HEAPSTER_NODE_ID > value: ${HEAPSTER_NODE_ID} 86c100 < value: "registry.access.redhat.com/openshift3/" --- > value: "openshift/origin-" 90c104 < value: "3.2.1" --- > value: "latest" 100c114 < description: "Can be set to: 'deploy' to perform an initial deployment; 'refresh' to delete and redeploy all components but to keep persisted data and routes; 'redeploy' to delete and redeploy everything (losing all data in the process)" --- > description: "Can be set to: 'preflight' to perform validation before a deployment; 'deploy' to perform an initial deployment; 'refresh' to delete and redeploy all components but to keep persisted data and routes; 'redeploy' to delete and redeploy everything (losing all data in the process); 'validate' to re-run validations after a deployment" 107a122,125 > description: "If preflight validation is blocking deployment and you're sure you don't care about it, this will ignore the results and proceed to deploy." > name: IGNORE_PREFLIGHT > value: "false" > - 111a130,133 > description: "Set to true to dynamically provision storage, set to false to use use pre-created persistent volumes" > name: DYNAMICALLY_PROVISION_STORAGE > value: "false" > - 124c146,154 < description: "How often metrics should be gathered. Defaults value of '10s' for 10 seconds" --- > description: "If a user accounts should be allowed to write metrics." > name: USER_WRITE_ACCESS > value: "false" > - > description: "The identifier used when generating metric ids in Hawkular" > name: HEAPSTER_NODE_ID > value: "nodename" > - > description: "How often metrics should be gathered. Defaults value of '15s' for 15 seconds" 126c156 < value: "10s" --- > value: "15s" addition info: 1. It is better if you can double check all the examples files and to see if we need to update by https://github.com/openshift/openshift-ansible/blob/master/roles/openshift_examples/examples-sync.sh
This is included in https://github.com/openshift/openshift-ansible/pull/2052 (not yet merged)
Verified in openshift v3.3.0.26 Below files sync well and samely: https://github.com/openshift/openshift-ansible/tree/master/roles/openshift_examples/files/examples/v1.3/infrastructure-templates/enterprise/metrics-deployer.yaml, base on https://github.com/openshift/origin-metrics/blame/enterprise/metrics.yaml https://github.com/openshift/openshift-ansible/blob/master/roles/openshift_examples/files/examples/v1.3/infrastructure-templates/origin/metrics-deployer.yaml, base on https://github.com/openshift/origin-metrics/blob/master/metrics.yaml
Not a bug in released product, closing.