default port
This commit is contained in:
@@ -121,7 +121,7 @@ spec:
|
||||
jmesPath: request.object.spec.containers[?name != 'authn'] | [0].ports[0].containerPort || `3000`
|
||||
- name: sidecarPort
|
||||
variable:
|
||||
jmesPath: to_number(request.object.metadata.annotations."policies.forteapps.io/auth-port" || '8080')
|
||||
jmesPath: to_number(request.object.metadata.annotations."policies.forteapps.io/auth-port" || '9001')
|
||||
mutate:
|
||||
patchStrategicMerge:
|
||||
spec:
|
||||
@@ -202,7 +202,7 @@ spec:
|
||||
jmesPath: request.object.spec.containers[?name != 'authn'] | [0].ports[0].containerPort || `3000`
|
||||
- name: sidecarPort
|
||||
variable:
|
||||
jmesPath: to_number(request.object.metadata.annotations."policies.forteapps.io/auth-port" || '8080')
|
||||
jmesPath: to_number(request.object.metadata.annotations."policies.forteapps.io/auth-port" || '9001')
|
||||
mutate:
|
||||
patchStrategicMerge:
|
||||
spec:
|
||||
@@ -295,7 +295,7 @@ spec:
|
||||
jmesPath: request.object.spec.containers[?name != 'authn'] | [0].ports[0].containerPort || `3000`
|
||||
- name: sidecarPort
|
||||
variable:
|
||||
jmesPath: to_number(request.object.metadata.annotations."policies.forteapps.io/auth-port" || '8080')
|
||||
jmesPath: to_number(request.object.metadata.annotations."policies.forteapps.io/auth-port" || '9001')
|
||||
mutate:
|
||||
patchStrategicMerge:
|
||||
spec:
|
||||
@@ -374,7 +374,7 @@ spec:
|
||||
jmesPath: request.object.spec.containers[?name != 'authn'] | [0].ports[0].containerPort || `3000`
|
||||
- name: sidecarPort
|
||||
variable:
|
||||
jmesPath: to_number(request.object.metadata.annotations."policies.forteapps.io/auth-port" || '8080')
|
||||
jmesPath: to_number(request.object.metadata.annotations."policies.forteapps.io/auth-port" || '9001')
|
||||
mutate:
|
||||
patchStrategicMerge:
|
||||
spec:
|
||||
@@ -469,7 +469,7 @@ spec:
|
||||
context:
|
||||
- name: sidecarPort
|
||||
variable:
|
||||
jmesPath: to_number(request.object.metadata.annotations."policies.forteapps.io/auth-port" || '8080')
|
||||
jmesPath: to_number(request.object.metadata.annotations."policies.forteapps.io/auth-port" || '9001')
|
||||
generate:
|
||||
synchronize: false
|
||||
apiVersion: networking.k8s.io/v1
|
||||
|
||||
Reference in New Issue
Block a user