Skip to content
New issue

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

add-cilium-extra-egress rules #6

Merged
merged 1 commit into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading