Skip to content

Commit 85c4298

Browse files
Merge pull request #197 from EcovadisCode/fix/keda-triggerauth-default
Fix keda triggerauth default behaviour
2 parents 3b711e2 + d6deb0f commit 85c4298

5 files changed

Lines changed: 13 additions & 10 deletions

File tree

charts/event-worker/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
description: EcoVadis Helm chart for K8s Event driven Deployment
33
name: charts-event-worker
44
type: application
5-
version: 1.4.0
5+
version: 1.4.1
66
dependencies:
77
- name: charts-core
88
version: 2.4.2

charts/event-worker/templates/tests/scaledobject_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ def test_triggers_should_be_set(self):
8686
values= {
8787
"global": {
8888
"keda": {
89+
"azure": {
90+
"clientIdSecretKey": 'AzureIdentity__ClientSecret'
91+
},
8992
"triggers": {
9093
"azureServiceBus": {
9194
"connectionStringKeyVaultSecretName": "ConnectionStrings--ServiceBus",

charts/event-worker/values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,12 +170,12 @@ global:
170170
cooldownPeriod: 300 # Optional. Default: 300 seconds
171171
initialCooldownPeriod: 0 # Optional. Default: 0 seconds
172172
fallbackReplicasCount: # Optional. Number of replicas to set when event metrics cannot be gathered, defaults to half of maxReplicaCount (rounded up)
173-
azure: # DEPRECATED, now uses workload identity
174-
clientIdSecretKey: 'AzureIdentity__ClientSecret' # Key in k8s secret containing service principal data.
175-
# clientIdSecretName: Optional. Name of k8s secret containing service principal data. Default is '{{ include "charts-event-worker.fullname" . }}-secure'
173+
# azure: # DEPRECATED, now uses workload identity
174+
# clientIdSecretKey: 'AzureIdentity__ClientSecret' # Key in k8s secret containing service principal data.
175+
# # clientIdSecretName: Optional. Name of k8s secret containing service principal data. Default is '{{ include "charts-event-worker.fullname" . }}-secure'
176176
triggers:
177177
azureServiceBus:
178-
connectionStringKeyVaultSecretName: 'ConnectionStrings--ServiceBus' #DEPRECATED: Name of secret in Azure Keyvault that is containing a connection string to Service Bus
178+
# connectionStringKeyVaultSecretName: 'ConnectionStrings--ServiceBus' #DEPRECATED: Name of secret in Azure Keyvault that is containing a connection string to Service Bus
179179
triggers:
180180
- enabled: true # Must be enabled. However, in order to enable this trigger, settings below must be provided.
181181
serviceBusName: # Required. Name of the ServiceBus Namespace

charts/job/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
description: EcoVadis Helm chart for K8s Event driven Job
33
name: charts-job
44
type: application
5-
version: 2.9.0
5+
version: 2.9.1
66
dependencies:
77
- name: charts-core
88
version: 2.4.2

charts/job/values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,12 @@ global:
130130
maxReplicaCount: 5 # Maximum number of JOBS to run at the same time
131131
successfulJobsHistoryLimit: 2 # Number of successful jobs to keep in history
132132
failedJobsHistoryLimit: 1 # Number of failed jobs to keep in history
133-
azure: # DEPRECATED, now uses workload identity
134-
clientIdSecretKey: 'AzureIdentity__ClientSecret' # Key in k8s secret containing service principal data.
135-
# clientIdSecretName: Optional. Name of k8s secret containing service principal data. Default is '{{ include "charts-job.fullname" . }}-secure'
133+
# azure: # DEPRECATED, now uses workload identity
134+
# clientIdSecretKey: 'AzureIdentity__ClientSecret' # Key in k8s secret containing service principal data.
135+
# # clientIdSecretName: Optional. Name of k8s secret containing service principal data. Default is '{{ include "charts-job.fullname" . }}-secure'
136136
triggers:
137137
azureServiceBus:
138-
connectionStringKeyVaultSecretName: 'ConnectionStrings--ServiceBus' #DEPRECATED: Name of secret in Azure Keyvault that is containing a connection string to Service Bus
138+
# connectionStringKeyVaultSecretName: 'ConnectionStrings--ServiceBus' #DEPRECATED: Name of secret in Azure Keyvault that is containing a connection string to Service Bus
139139
triggers:
140140
- enabled: true # Must be enabled. However, in order to enable this trigger, settings below must be provided.
141141
serviceBusName: # Required. Name of the ServiceBus Namespace

0 commit comments

Comments
 (0)