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
  • Loading branch information
nexus49 committed Nov 19, 2024
1 parent a2af375 commit 583d288
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 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
10 changes: 8 additions & 2 deletions charts/account-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,15 @@ spec:
metadata:
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,10 +81,7 @@ 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
spec:
containers:
Expand Down Expand Up @@ -240,10 +237,7 @@ 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
spec:
containers:
Expand Down
5 changes: 5 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 All @@ -23,6 +26,8 @@ deployment:
cpu: 150m
memory: 128Mi



Check failure on line 30 in charts/account-operator/values.yaml

View workflow job for this annotation

GitHub Actions / pipeline / testChart / lint

30:1 [empty-lines] too many blank lines (3 > 2)
kcp:
enabled: false
virtualWorkspaceUrl: ""
Expand Down

0 comments on commit 583d288

Please sign in to comment.