We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue is when we use the below github action to generate/create a secret in k8s cluster
uses: azure/k8s-create-secret@v5 with: namespace: 'forecast-${{ matrix.client }}' secret-type: genric secret-name: 'dummy' string-data: '{"dummy1":"${{ steps.secrets.outputs.dummy1 }}","dummy2":"${{ steps.secrets.outputs.dummy2 }}","dummy3":"${{ steps.secrets.outputs.dummy3 }}","dummy4":"dummy4"}'
When we specify the "type" as generic --> the action should create the type of "Opaque" but it is trying to create a type of "generic" secret wherein the k8s doesn't have that type of secret. https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
Created Secret o/p:
apiVersion: v1 data: dummy1: dummy2: dummy3: dummy4: kind: Secret metadata: creationTimestamp: "2024-06-07T09:32:28Z" name: dummy namespace: default type: Opaque
Note: Removed actual values for security reasons.
The text was updated successfully, but these errors were encountered:
same issue
Sorry, something went wrong.
Any update ?
No branches or pull requests
Issue is when we use the below github action to generate/create a secret in k8s cluster
uses: azure/k8s-create-secret@v5 with: namespace: 'forecast-${{ matrix.client }}' secret-type: genric secret-name: 'dummy' string-data: '{"dummy1":"${{ steps.secrets.outputs.dummy1 }}","dummy2":"${{ steps.secrets.outputs.dummy2 }}","dummy3":"${{ steps.secrets.outputs.dummy3 }}","dummy4":"dummy4"}'
When we specify the "type" as generic --> the action should create the type of "Opaque" but it is trying to create a type of "generic" secret wherein the k8s doesn't have that type of secret.
https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
Created Secret o/p:
apiVersion: v1
data:
dummy1:
dummy2:
dummy3:
dummy4:
kind: Secret
metadata:
creationTimestamp: "2024-06-07T09:32:28Z"
name: dummy
namespace: default
type: Opaque
Note: Removed actual values for security reasons.
The text was updated successfully, but these errors were encountered: