Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check_commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
pattern: '^(Merge pull request #[0-9]+)|(Merge branch ''main'' into develop)|(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\-\.]+\))?(!)?: ([\w ])+([\s\S]*)'
error: 'Commit messages do not follow https://www.conventionalcommits.org/en/v1.0.0/'
- name: Get Changed Files
uses: tj-actions/changed-files@v41.0.0
uses: tj-actions/changed-files@v45.0.8
- name: Check if CHANGELOG wasn't included
run: |
if echo ${{ steps.changed-files.outputs.all_changed_files }} | grep CHANGELOG.md; then
Expand Down
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ See [https://github.com/dodevops/kc](the kc website) for details.
* 🟦 krew
* 🐚 Kubectlnodeshell
* 🐳 Kubernetes
* 📦 Opentofu
* 📦 Packages
* 📦 Packer
* 👟 Run
Expand Down Expand Up @@ -83,6 +84,7 @@ See [https://github.com/dodevops/kc](the kc website) for details.
* [krew](#krew)
* [Kubectlnodeshell](#kubectlnodeshell)
* [Kubernetes](#kubernetes)
* [Opentofu](#opentofu)
* [Packages](#packages)
* [Packer](#packer)
* [Run](#run)
Expand Down Expand Up @@ -578,6 +580,24 @@ Installs and configures [kubernetes](https://kubernetes.io/docs/reference/kubect
* Environment GCLOUD_K8S_CLUSTERS: A comma separated list of zone[@project]:cluster-name
* Environment K8S_USE_GCLOUD_AUTH: Whether to use the new GKE_GCLOUD_AUTH plugin [true]

### <a id="opentofu"></a> Opentofu

Installs and configures [Opentofu](https://opentofu.org/)

#### Configuration

* USE_opentofu: Enable this feature (or use the FEATURES variable instead)
* OPENTOFU_VERSION (required): Version to install (or use the FEATURES variable instead)
* DEBUG_opentofu: Debug this feature
* Add a volume mount to the `volumes:` section of docker compose like this:
(...)
volumes:
- "<path-to-opentofu>:/opentofu"
* If you used the browser based login in gcloud, you'll probably need to authenticate using the application-default
login using the gcloud cli by running

gcloud auth application-default login

### <a id="packages"></a> Packages

Installs additional packages into the container
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set -euo pipefail
#
# If no flavour is specified, all flavours will be built

mv Dockerfile Dockerfile.sav
mv Dockerfile Dockerfile.sav &>/dev/null || true

TAG=latest
if [ -n "$1" ]
Expand Down
Loading
Loading