Skip to content
This repository was archived by the owner on Dec 15, 2021. It is now read-only.
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

Are best practices docs accurate regarding templating? #816

@cranium

Description

@cranium

https://github.com/rancher/community-catalog/wiki/Best-practices

On this page - the example has you using go templating to have a db service that may or may not be setup, but in the rancher compose file, there is a static entry for db. When I do this locally on rancher 1.6 I get an error because the rancher-compose file is referencing a service that doesn't exist.

image

Am I missing something?

I'd like to use go templating to conditionally include a service based on questions in rancher compose, and have rancher compose entries for those services if they are included.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions