stuttgart-things / kaeffken

gitops apps & cluster management cli
Other
0 stars 0 forks source link
apps flux github-api gitops k8s sops

stuttgart-things/kaeffken

sthings

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

APPS ```bash kaeffken \ --output file \ --clusterPath=clusters/labul/test1 \ --apps tests/apps.yaml --pr true ``` ```bash 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 ```bash cat <> tests/secret.yaml kind: Secret apiVersion: v1 metadata: name: secret data: password: wHat6ver EOF ``` ```bash kaeffken encrypt \ --source tests/secret.yaml \ --output stdout ``` ```bash kaeffken encrypt \ --source tests/secret.yaml \ --output file \ --pr true \ --destination /tmp \ --clusterPath=clusters/labul/test1 ```
RENDER (BUILTIN) TEMPLATE AND ENCRYPT FILE ```bash kaeffken encrypt \ --template k8s \ --values "password=mysecretvalue, username=admin" \ --output stdout ```

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.