GoogleContainerTools / GoogleContainerTools/skaffold

Document an example on remote modules + local module

Open
#7,392 0 comments 0 reactions 0 assignees View on GitHub
bugbash/q4-2022 help wanted kind/todo meta/examples
Dominant language
Go
Stars
15.9k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
10

Description

When talking with @russwolf, I realized we dont have an example demo for an application where there is one remote module along with local module.

e.g.

```
apiVersion: skaffold/v2beta11
kind: Config
requires:
- git:
repo: https://github.com/GoogleContainerTools/skaffold
path: examples/multi-config-microservices/leeroy-app
ref: main

- path: ./leeroy-web

```
and
```
apiVersion: skaffold/v2beta22
kind: Config
metadata:
name: web-config
requires:
- path: ../base
build:
artifacts:
- image: leeroy-web
requires:
- image: base
alias: BASE
deploy:
kubectl:
manifests:
- kubernetes/*
portForward:
- resourceType: deployment
resourceName: leeroy-web
port: 8080
localPort: 9000
```

It will be cool to demo this set up to your users.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.