Skip to content

stuttgart-things/kaeffken

Repository files navigation

stuttgart-things/kaeffken

sthings

[ˈkɛfkən]- gitops apps & cluster management cli

COMMANDS

CREATE
kaeffken create --survey=true --questions "tests/questions1.yaml,tests/questions2.yaml"
APPS
kaeffken \
--output file \
--clusterPath=clusters/labul/test1 \
--apps tests/apps.yaml
--pr true
kaeffken \
--output stdout \
--apps /home/sthings/projects/stuttgart-things/kaeffken/apps/flux/apps.yaml \
--appDefaults /home/sthings/projects/stuttgart-things/kaeffken/apps/flux/app-defaults.yaml \
--defaults /home/sthings/projects/stuttgart-things/kaeffken/apps/flux/flux-defaults.yaml
ENCRYPT FILE
cat <<EOF >> tests/secret.yaml
kind: Secret
apiVersion: v1
metadata:
  name: secret
data:
  password: wHat6ver
EOF
kaeffken encrypt \
--source tests/secret.yaml \
--output stdout
kaeffken encrypt \
--source tests/secret.yaml \
--output file \
--pr true \
--destination /tmp \
--clusterPath=clusters/labul/test1
RENDER (BUILTIN) TEMPLATE AND ENCRYPT FILE
kaeffken encrypt \
--template k8s \
--values "password=mysecretvalue, username=admin" \
--output stdout

INSTALL

INSTALL (LINUX)

DEV

BRANCH BRANCH
task branch

💡 💻 💾 Add Features, fixes, documentation ...

LINT, TEST, BUILD, RUN
task run
CREATE/MERGE PULL REQUEST
task pr
RELEASE VERSIONED ARTIFACTS
task release
ALL TASKS
task: Available tasks for this project:
* branch:              Create branch from main
* build:               Install
* build-ko:            Build KO Image
* commit:              Commit + push code into branch
* delete-branch:       Delete branch from origin
* lint:                Lint code
* pr:                  Create pull request into main
* release:             Release
* run:                 Run
* test:                Test code
* tests:               Built cli tests

AUTHOR

Patrick Hermann, stuttgart-things 12/2023

License

Licensed under the Apache License, Version 2.0 (the "License").

You may obtain a copy of the License at apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" basis, without WARRANTIES or conditions of any kind, either express or implied.

See the License for the specific language governing permissions and limitations under the License.