Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-14035

Typos on fuse-console-namespace-rbac.yml

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • fuse-7.7-GA
    • fuse-7.7-build5
    • Fuse on Openshift
    • None
    • % %
    • fuse-7.7-build6
    • Hide
      1. Follow the instructions from FUSEDOC-3744
      2. In 1.2.3.3 point run the command 
        oc process --parameters -f TEMPLATE-FILENAME

         

      Show
      Follow the instructions from FUSEDOC-3744 In 1.2.3.3 point run the command  oc process --parameters -f TEMPLATE-FILENAME  

    Description

      It seems there are typos in fuse-console-namespace-rbac.yml (perhaps, in other files it is present as well)

      https://github.com/jboss-fuse/application-templates/blob/application-templates-2.1.0.fuse-770009-redhat-00001/fuse-console-namespace-rbac.yml#L53

      ➜ ENTESB-8065 oc process --parameters -f https://raw.githubusercontent.com/jboss-fuse/application-templates/application-templates-2.1.0.fuse-770005-redhat-00001/fuse-console-namespace-rbac.yml error: failed to read input object (not a Template?): unable to decode "https://raw.githubusercontent.com/jboss-fuse/application-templates/application-templates-2.1.0.fuse-770005-redhat-00001/fuse-console-namespace-rbac.yml": v1.Template.Parameters: []v1.Parameter: v1.Parameter.Required: ReadBool: expect t or f, but found ", error found in #10 byte of ...|equired":"true,","va|..., bigger context ...|:"Memory limit","name":"MEMORY_LIMIT","required":"true,","value":"200Mi"}]}|...
      

       

      ➜ ENTESB-8065 oc new-app -n fuse-console-jsolovjo -f fuse-console-namespace-rbac.yml -p ROUTE_HOSTNAME=fuse-console-jsolovjo.apps.foo43ga.openshift-aws.rhocf-dev.comerror: v1.DeploymentConfig.Spec: v1.DeploymentConfigSpec.Template: v1.PodTemplateSpec.Spec: v1.PodSpec.Containers: []v1.Container: v1.Container.VolumeMounts: []v1.VolumeMount: Resources: v1.ResourceRequirements.Requests: unmarshalerDecoder: quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', error found in #10 byte of ...|y":"64Mi,"}},"volume|..., bigger context ...|:"200Mi"},"requests":{"cpu":"0.2","memory":"64Mi,"}},"volumeMounts":[{"mountPath":"/opt/app-root/src|...
      

      To make it work I had to download and manually fix the file - remove unnecessary comas, double quotes, etc.

      Attachments

        Activity

          People

            astefanu@redhat.com Antonin Stefanutti
            jsolovjo Juri Solovjov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: