lib/topological_inventory/orchestrator/config_map.rb
def remove_source(source)
        logger.info("Removing Source #{source} from ConfigMap #{self}")

        digests.delete(source.digest) if source.digest.present?
        sources.delete(source)

        targeted_delete(source) if targeted_update

        if sources_count.zero?
          delete_in_openshift
        else
          update! unless targeted_update
        end

        logger.info("[OK] Removed Source #{source} from ConfigMap #{self}")
      end
# Remove Source from this ConfigMap and Secret
# If no sources in ConfigMap left, delete it, secret and DC (DeploymentConfig)
Remove Source from this ConfigMap and Secret
If no sources in ConfigMap left, delete it, secret and DC (DeploymentConfig)
Remove Source from this ConfigMap and Secret If no sources in ConfigMap left delete it secret and DC ( DeploymentConfig )
def remove_source(source)
        logger.info("Removing Source #{source} from ConfigMap #{self}")
        digests.delete(source.digest) if source.digest.present?
        sources.delete(source)
        targeted_delete(source) if targeted_update
        if sources_count.zero?
          delete_in_openshift
        else
          update! unless targeted_update
        end
        logger.info("[OK] Removed Source #{source} from ConfigMap #{self}")
      end
def remove_source ( source ) logger . info ( "Removing Source #{source} from ConfigMap #{self}" ) digests . delete ( source . digest ) if source . digest . present? sources . delete ( source ) targeted_delete ( source ) if targeted_update if sources_count . zero? delete_in_openshift else update! unless targeted_update end logger . info ( "[OK] Removed Source #{source} from ConfigMap #{self}" ) end
Remove Source from this ConfigMap and Secret
If no sources in ConfigMap left, delete it, secret and DC (DeploymentConfig)
Remove Source from this ConfigMap and Secret If no sources in ConfigMap left delete it secret and DC ( DeploymentConfig )
source