Skip to content

Commit

Permalink
Make opa image configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
areicher committed Mar 2, 2022
1 parent ae8ea08 commit f810e34
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion charts/platform-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "1.0"
description: Platform service chart
name: platform-service
version: 1.0.45
version: 1.0.46
2 changes: 1 addition & 1 deletion charts/platform-service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ spec:
containers:
{{ if .Values.opa.enabled }}
- name: opa-istio
image: openpolicyagent/opa:0.28.0-istio
image: {{ .Values.opa.image }}
imagePullPolicy: IfNotPresent
args:
- run
Expand Down
1 change: 1 addition & 0 deletions charts/platform-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ gateway:
opa:
# set to true to enable opa. requires config in a config map called opa-istio-config and policy in a config map called opa-policy
enabled: false
image: openpolicyagent/opa:0.28.0-istio

hpa:
enabled: false
Expand Down
4 changes: 2 additions & 2 deletions testing/results/base-case.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ metadata:
name: test
labels:
app.kubernetes.io/name: test
helm.sh/chart: platform-service-1.0.45
helm.sh/chart: platform-service-1.0.46
app.kubernetes.io/instance: test-release
app.kubernetes.io/managed-by: Helm
spec:
Expand All @@ -68,7 +68,7 @@ metadata:
name: test-release
labels:
app.kubernetes.io/name: test
helm.sh/chart: platform-service-1.0.45
helm.sh/chart: platform-service-1.0.46
app.kubernetes.io/instance: test-release
app.kubernetes.io/managed-by: Helm
app: test
Expand Down
2 changes: 1 addition & 1 deletion testing/results/deployment-only.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ metadata:
name: test-release
labels:
app.kubernetes.io/name: test
helm.sh/chart: platform-service-1.0.45
helm.sh/chart: platform-service-1.0.46
app.kubernetes.io/instance: test-release
app.kubernetes.io/managed-by: Helm
app: test
Expand Down
2 changes: 1 addition & 1 deletion testing/results/no-sessman.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: test-release
labels:
app.kubernetes.io/name: test
helm.sh/chart: platform-service-1.0.45
helm.sh/chart: platform-service-1.0.46
app.kubernetes.io/instance: test-release
app.kubernetes.io/managed-by: Helm
app: test
Expand Down
4 changes: 2 additions & 2 deletions testing/results/not-exposed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ metadata:
name: test
labels:
app.kubernetes.io/name: test
helm.sh/chart: platform-service-1.0.45
helm.sh/chart: platform-service-1.0.46
app.kubernetes.io/instance: test-release
app.kubernetes.io/managed-by: Helm
spec:
Expand All @@ -61,7 +61,7 @@ metadata:
name: test-release
labels:
app.kubernetes.io/name: test
helm.sh/chart: platform-service-1.0.45
helm.sh/chart: platform-service-1.0.46
app.kubernetes.io/instance: test-release
app.kubernetes.io/managed-by: Helm
app: test
Expand Down
2 changes: 1 addition & 1 deletion testing/results/opa-enabled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: test-release
labels:
app.kubernetes.io/name: test
helm.sh/chart: platform-service-1.0.45
helm.sh/chart: platform-service-1.0.46
app.kubernetes.io/instance: test-release
app.kubernetes.io/managed-by: Helm
app: test
Expand Down
2 changes: 1 addition & 1 deletion testing/results/opa-with-resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: test-release
labels:
app.kubernetes.io/name: test
helm.sh/chart: platform-service-1.0.45
helm.sh/chart: platform-service-1.0.46
app.kubernetes.io/instance: test-release
app.kubernetes.io/managed-by: Helm
app: test
Expand Down
2 changes: 1 addition & 1 deletion testing/results/run-date.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Tue Mar 1 07:26:16 PST 2022
Wed Mar 2 07:07:40 PST 2022
2 changes: 1 addition & 1 deletion testing/results/sessman-with-redirect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: test-release
labels:
app.kubernetes.io/name: test
helm.sh/chart: platform-service-1.0.45
helm.sh/chart: platform-service-1.0.46
app.kubernetes.io/instance: test-release
app.kubernetes.io/managed-by: Helm
app: test
Expand Down
4 changes: 2 additions & 2 deletions testing/results/vs-default-routing-disabled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ metadata:
name: test
labels:
app.kubernetes.io/name: test
helm.sh/chart: platform-service-1.0.45
helm.sh/chart: platform-service-1.0.46
app.kubernetes.io/instance: test-release
app.kubernetes.io/managed-by: Helm
spec:
Expand All @@ -68,7 +68,7 @@ metadata:
name: test-release
labels:
app.kubernetes.io/name: test
helm.sh/chart: platform-service-1.0.45
helm.sh/chart: platform-service-1.0.46
app.kubernetes.io/instance: test-release
app.kubernetes.io/managed-by: Helm
app: test
Expand Down

0 comments on commit f810e34

Please sign in to comment.