Skip to content

Conversation

@korya
Copy link

@korya korya commented Dec 12, 2025

Instead of failing.

This eliminates the need to wrap lk invocations with custom logic for manually filtering out such values. For example, this is a real script for deploying using lk agent deploy:

rm -f .env.lk
sed '/^#/d' .env | grep -vE '^[A-Za-z_][A-Za-z0-9_]*=$' > .env.lk
lk agent deploy --secrets-file .env.lk

With the flag, this would be just:

lk agent deploy --secrets-file .env --ignore-empty

Related:

Instead of failing.

This eliminates the need to wrap `lk` invocations with custom logic
for manually filtering out such values. For example, this is a real script
for deploying using `lk agent deploy`:

```
rm -f .env.lk
sed '/^#/d' .env | grep -vE '^[A-Za-z_][A-Za-z0-9_]*=$' > .env.lk
lk agent deploy --secrets-file .env.lk
```
@CLAassistant
Copy link

CLAassistant commented Dec 12, 2025

CLA assistant check
All committers have signed the CLA.

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