diff --git a/.github/workflows/builder.yaml b/.github/workflows/builder.yaml index ee30a68..ab97930 100644 --- a/.github/workflows/builder.yaml +++ b/.github/workflows/builder.yaml @@ -2,7 +2,7 @@ name: Builder on: push: branches: - - main + - fix-deployment-secret-name defaults: run: diff --git a/fn.go b/fn.go index 59a7ca5..a4308bb 100644 --- a/fn.go +++ b/fn.go @@ -123,7 +123,7 @@ func (f *Function) RunFunction(_ context.Context, req *fnv1beta1.RunFunctionRequ "envFrom": []interface{}{ map[string]interface{}{ "secretRef": map[string]interface{}{ - "name": secretName, + "name": secretName + "creds", }, }, }, @@ -284,7 +284,7 @@ func (f *Function) RunFunction(_ context.Context, req *fnv1beta1.RunFunctionRequ "envFrom": []interface{}{ map[string]interface{}{ "secretRef": map[string]interface{}{ - "name": secretName, + "name": secretName + "creds", }, }, },