Skip to content

Commit

Permalink
feat: adjust to not disable proxy injection by default as this is nee…
Browse files Browse the repository at this point in the history
…ded for the fga communication (#11)

* feat: adjust to not disable proxy injection by default as this is needed for the fga communication

* fix: removing unreleated change

* fix: lint error
  • Loading branch information
nexus49 authored Nov 19, 2024
1 parent a2af375 commit a04b661
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/account-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: account-operator
description: A Helm chart for Kubernetes
type: application
version: 0.3.1
version: 0.4.0
appVersion: "0.95.0"
dependencies:
- name: account-operator-crds
Expand Down
9 changes: 8 additions & 1 deletion charts/account-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@ spec:
labels:
service: {{ include "entity.name" . }}
control-plane: controller-manager
{{- with .Values.deployment.specTemplate.labels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{ if .Values.deployment.specTemplate.annotations }}
annotations:
sidecar.istio.io/inject: "false"
{{- with .Values.deployment.specTemplate.annotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
spec:
serviceAccountName: {{ include "entity.name" . }}
containers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ operator match the snapshot:
service: RELEASE-NAME-account-operator
template:
metadata:
annotations:
sidecar.istio.io/inject: "false"
labels:
control-plane: controller-manager
service: RELEASE-NAME-account-operator
Expand Down Expand Up @@ -240,8 +238,6 @@ operator match the snapshot (with kubeconfigSecret):
service: RELEASE-NAME-account-operator
template:
metadata:
annotations:
sidecar.istio.io/inject: "false"
labels:
control-plane: controller-manager
service: RELEASE-NAME-account-operator
Expand Down
3 changes: 3 additions & 0 deletions charts/account-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ metrics:
port: 8080

deployment:
specTemplate:
annotations: {}
labels: {}
revisionHistoryLimit: 3
resources:
limits:
Expand Down

0 comments on commit a04b661

Please sign in to comment.