Skip to content

#3014 Embed text and yaml from path relative to the specified spec template - #34

Merged
jmsktm merged 1 commit into
mainfrom
embed-from-path
Mar 20, 2023
Merged

jmsktm merged 1 commit into
mainfrom
embed-from-path

Conversation

@jmsktm

@jmsktm jmsktm commented Mar 17, 2023 •

Copy link
Copy Markdown
Contributor

In addition to usual case where a template is specified, it works when the template is piped as well. Eg.

cat template.yaml | ./signadot --config ~/.signadot/localhost.yaml resourceplugin apply --set name=plugin-x -f -

Closes #3014

@jmsktm
jmsktm marked this pull request as ready for review March 17, 2023 06:50
@jmsktm jmsktm changed the title Embed text and yaml from path relative to the main template Embed text and yaml from path relative to the specified template Mar 17, 2023
@jmsktm jmsktm changed the title Embed text and yaml from path relative to the specified template Embed text and yaml from path relative to the specified spec template Mar 17, 2023
@jmsktm jmsktm changed the title Embed text and yaml from path relative to the specified spec template #3014 Embed text and yaml from path relative to the specified spec template Mar 17, 2023
@jmsktm
jmsktm force-pushed the embed-from-path branch 2 times, most recently from 1d2f9ed to 5c6bf78 Compare March 17, 2023 18:03

@daniel-de-vera daniel-de-vera left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jmsktm
jmsktm merged commit ba11dbe into main Mar 20, 2023
@jmsktm
jmsktm deleted the embed-from-path branch March 20, 2023 15:55
foxish added a commit that referenced this pull request Sep 2, 2026
…ot) (#366)

Resolves all 10 open [Dependabot
alerts](https://github.com/signadot/cli/security/dependabot) in the root
`go.mod`.

## google.golang.org/grpc v1.79.3 -> v1.83.1
- #43 (high): HTTP/2 DATA frame flood can cause out-of-memory
(GHSA-vp52-pcj8-j9qc)
- #40 (high): xDS RBAC / HTTP/2 vulnerability (<1.82.1)

## github.com/go-git/go-git/v5 v5.18.0 -> v5.19.2
- #42: symlink following
- #41: ref-name file modification
- #39: malformed object panics
- #38: `.git` directory modification
- #37: SSH quote escaping
- #34: object parsing

## github.com/go-git/go-billy/v5 v5.8.0 -> v5.9.0 (indirect)
- #36: path traversal
- #35: symlink cycle resource exhaustion

## Verification
- `go build ./...` passes
- `go test ./... -count=1`: all packages pass except
`internal/repoconfig`, whose 3 failures also occur at the base commit
with the old dependencies (they stem from running tests inside a linked
git worktree, not from this bump)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants