#146 Adding optional kubeconfig encoding variable (#164)

* encoding input variable added

* encoding input variable added

* encoding input variable added

* corrected unit tests

* corrected unit tests

* prettier edits

* working on tests

* working on tests

* working on tests

* minor edits

* minor edits

* better logic structure

* added tests for edge cases

* edited to enum
This commit is contained in:
Betsy George
2025-07-17 14:27:04 -04:00
committed by GitHub
parent 8440376895
commit 0fc754ad67
3 changed files with 67 additions and 1 deletions
+4
View File
@@ -13,6 +13,10 @@ inputs:
kubeconfig:
description: 'Contents of kubeconfig file'
required: false
kubeconfig-encoding:
description: 'Encoding of the kubeconfig input. Accepts "plaintext" (default) or "base64".'
required: false
default: 'plaintext'
context:
description: 'If your kubeconfig has multiple contexts, use this field to use a specific context, otherwise the default one would be chosen'
required: false