Skip to content

Clustered Skipper ingress deployment file is identical to the namespaced configuration #4

@AndreyMatveyev

Description

@AndreyMatveyev

After using the instuctions at openanalytics/shinyproxy-operator/tree/develop/docs/deployment/README.md, following the 'clustered' path and using the deployment scripts at openanalytics/shinyproxy-operator/tree/develop/docs/deployment/clustered
The attempt to open the demo application https://shinyproxy-demo.local/ was returning the 404 Not Found error.
The detailed inspection of the clustered deployment scripts and the Skipper documentation section Scoping Skipper Deployments to a Single Namespace revealed a problem in the deployment file https://github.com/openanalytics/shinyproxy-operator/blob/develop/docs/deployment/clustered/dependencies/deployment.yaml
This file is identical to the file https://github.com/openanalytics/shinyproxy-operator/blob/develop/docs/deployment/namespaced/dependencies/deployment.yaml which represents the configuration for the namespaced mode.
Simply removing

        env:
          - name: KUBE_NAMESPACE
            valueFrom:
              fieldRef:
                fieldPath: metadata.namespace

and

         - "-kubernetes-namespace=$(KUBE_NAMESPACE)"

in the file https://github.com/openanalytics/shinyproxy-operator/blob/develop/docs/deployment/clustered/dependencies/deployment.yaml
fixed the problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions