anchor.diff:  [[updating-the-default-image-streams-and-templates]]
   === Updating the Default Image Streams and Templates
   
  -By default, the
  -ifdef::openshift-enterprise[]
  -link:install/quick_install.html[quick] and
  +ifdef::openshift-origin[]
  +By default, the link:install/advanced_install.html[advanced installation] method
  +automatically creates default image streams, InstantApp templates, and database
  +service templates in the *openshift* project, which is a default project to
  +which all users have view access. These objects were created during installation
  +from the JSON files located under *_/usr/share/openshift/examples_*.
  +
  +To update these objects, first ensure that you have the latest
  +*openshift-ansible* code checked out, which provides the example JSON files:
  +
  +----
  +# cd ~/openshift-ansible
  +# git pull https://github.com/openshift/openshift-ansible master
  +----
  +endif::[]
  +
  +ifdef::openshift-enterprise[]
  +By default, the link:install/quick_install.html[quick] and
   link:install/advanced_install.html[advanced installation] methods automatically
  -create
  -endif::[]
  -ifdef::openshift-origin[]
  -link:install/advanced_install.html[advanced installation] method automatically
  -creates
  -endif::[]
  -default image streams, InstantApp templates, and database service templates in
  -the *openshift* project, which is a default project to which all users have view
  -access. These objects were created during installation from the JSON files
  -located under *_/usr/share/openshift/examples_*. Running the latest installer
  -will copy newer files into place, but it does not currently update the
  -*openshift* project.
  -
  -You can update the global *openshift* project by running the following commands.
  -It is expected that you will receive warnings about items that already exist.
  +create default image streams, InstantApp templates, and database service
  +templates in the *openshift* project, which is a default project to which all
  +users have view access. These objects were created during installation from the
  +JSON files located under the
  +*_/usr/share/ansible/openshift-ansible/roles/openshift_examples/files/examples/_*
  +directory.
  +
  +To update these objects, first update the packages that provide the example JSON
  +files. On a master host, install or update to the latest version of the
  +*atomic-openshift-utils* package, which should also update the
  +*openshift-ansible-** packages:
  +
  +----
  +# yum update atomic-openshift-utils
  +----
  +
  +The *openshift-ansible-roles* package provides the latest example JSON files.
  +endif::[]
  +
  +Now update the global *openshift* project by running the following commands as a
  +user with *cluster-admin* privileges. It is expected that you will receive
  +warnings about items that already exist.
   
   ifdef::openshift-enterprise[]
   ====
  
positive.code: See the link:../release_notes/ose_3_1_release_notes.html[OpenShift Enterprise 3.1
  Release Notes] to review the latest release notes.
  endif::[]
  
  ifdef::openshift-origin[]
  [[openshift-origin-1-1-0]]
  ==== OpenShift Origin 1.1.0
  
  After finishing the link:#manual-upgrades[standard manual upgrade steps],
  perform the following additional steps specific to OpenShift Origin 1.1.0 to
  fully complete the upgrade.
  endif::[]
  
  ifdef::openshift-enterprise[]
  [[openshift-enterprise-3-1-0]]
  ==== OpenShift Enterprise 3.1.0
  
  After finishing the link:#manual-upgrades[standard manual upgrade steps],
  perform the following additional steps specific to OpenShift Enterprise 3.1.0 to
  fully complete the upgrade.
  endif::[]
  
  *Removing Support for the v1beta3 API*
  
  Update the *_/etc/openshift/master/master-config.yml_* file on each master, and
  remove *v1beta3* from the `*apiLevels*` and `*kubernetesMasterConfig.apiLevels*`
  parameters.
  
  *Creating Symlinks for New Directories*
  
  Some directories were renamed from *openshift* to *origin*, so create the
  following symlinks:
  
  ----
  # ln -s /var/lib/openshift /var/lib/origin
  # ln -s /etc/openshift /etc/origin
  ----
  
  ifdef::openshift-origin[]
  For OpenShift Origin, see the
  link:https://github.com/openshift/origin/releases[Releases page] on GitHub to
  review the latest release notes.
  
  [[openshift-origin-1-0-4]]
  ==== OpenShift Origin 1.0.4
  
  
negative.code: ====
  
  You can either modify this output to re-apply any local policy changes you have
  made, or you can automatically apply the new policy using the following process:
  
  . Reconcile the cluster roles:
  +
  ----
  # oadm policy reconcile-cluster-roles --confirm
  ----
  
  . Restart the master service:
  +
  ifdef::openshift-origin[]
  ----
  # systemctl restart origin-master
  ----
  endif::[]
  ifdef::openshift-enterprise[]
  ----
  # systemctl restart atomic-openshift-master
  ----
  endif::[]
  
  . Reconcile the cluster roles again to pick up new capabilities:
  +
  ----
  # oadm policy reconcile-cluster-roles --confirm
  ----
  
  . Reconcile the cluster role bindings:
  +
  ----
  # oadm policy reconcile-cluster-role-bindings \
      --exclude-groups=system:authenticated \
      --exclude-groups=system:unauthenticated \
      --exclude-users=system:anonymous \
      --additive-only=true \
      --confirm
  ----
  
  
  [[upgrading-nodes]]
  === Upgrading Nodes
  