Skip to content

Commit

Permalink
doc: v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
miyamo2 committed Nov 20, 2024
1 parent 25930bb commit 4b018a4
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

## 0.1.0 - 2024-11-20

### 🎉Initial Release
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,19 @@ spec:
kubectl create transient_configmap my-config --from-literal=num=1 --job-name=test-job --job-from=cronjob/a-cronjob
```

## Features

### Flags

| name | description |
|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `from-env-file` | Specify the path to a file to read lines of key=val pairs to create a configmap. |
| `from-file` | Key file can be specified using its file path, in which case file basename will be used as configmap key, or optionally with a key and file path, in which case the given key will be used. Specifying a directory will iterate each named file in the directory whose basename is a valid configmap key. |
| `from-literal` | Specify a key and literal value to insert in configmap (i.e. mykey=somevalue) |
| `job-name` | Name of job to be created. required. |
| `job-from` | The name of the resource to create a Job from (only cronjob is supported). |
| `job-image` | Image name to run. |

## Contributing

Feel free to open a PR or an Issue.
Expand Down
2 changes: 1 addition & 1 deletion cmd/create_transient_configmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
"strings"
)

const version = "0.1.0-alpha"
const version = "0.1.0"

var (
// transientConfigMapUse is the one-line usage message for the transient_configmap command
Expand Down

0 comments on commit 4b018a4

Please sign in to comment.