Skip to content

Commit

Permalink
Merge pull request #6 from giantswarm/add-cilium-extra-exgress-rules
Browse files Browse the repository at this point in the history
add-cilium-extra-egress rules
  • Loading branch information
QuentinBisson authored Feb 22, 2024
2 parents c6b5ade + ba28552 commit cd62b5c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion keda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ their default values.
| `crds.install` | bool | `true` | Defines whether the KEDA CRDs have to be installed or not. |
| `env` | list | `[]` | Additional environment variables that will be passed onto all KEDA components |
| `extraObjects` | list | `[]` | Array of extra K8s manifests to deploy |
| `global.image.registry` | string | `"docker.io"` | Global image registry of KEDA components |
| `global.image.registry` | string | `"gsoci.azurecr.io"` | Global image registry of KEDA components |
| `grpcTLSCertsSecret` | string | `""` | Set this if you are using an external scaler and want to communicate over TLS (recommended). This variable holds the name of the secret that will be mounted to the /grpccerts path on the Pod |
| `hashiCorpVaultTLS` | string | `""` | Set this if you are using HashiCorp Vault and want to communicate over TLS (recommended). This variable holds the name of the secret that will be mounted to the /vault path on the Pod |
| `http.keepAlive.enabled` | bool | `true` | Enable HTTP connection keep alive |
Expand Down
3 changes: 3 additions & 0 deletions keda/templates/manager/ciliumnetworkpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ spec:
- toEntities:
- kube-apiserver
- cluster
{{- if and .Values.networkPolicy.cilium.operator.extraEgressRules }}
{{ toYaml .Values.networkPolicy.cilium.operator.extraEgressRules | nindent 4 }}
{{- end }}
ingress:
- fromEntities:
- cluster
Expand Down
6 changes: 5 additions & 1 deletion keda/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
global:
image:
# -- Global image registry of KEDA components
registry: docker.io
registry: gsoci.azurecr.io

image:
keda:
Expand Down Expand Up @@ -221,6 +221,10 @@ networkPolicy:
enabled: true
# -- Flavor of the network policies (cilium)
flavor: "cilium"
# -- Allow use of extra egress rules for cilium network policies
# cilium:
# operator:
# extraEgressRules: []

podDisruptionBudget:
# -- Capability to configure [Pod Disruption Budget]
Expand Down

0 comments on commit cd62b5c

Please sign in to comment.