Skip to content

Commit

Permalink
fix: different names for OPA, Presidio services
Browse files Browse the repository at this point in the history
Prevents both svcs from being named prose (chart fullname)
  • Loading branch information
dettanym committed Jul 27, 2023
1 parent 05c762d commit a763f72
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/prose/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.9
version: 0.0.10

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/prose/templates/opa-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "charts.fullname" . }}
name: {{ .Values.opa.name }}
labels:
{{- include "charts.labels" . | nindent 4 }}
spec:
Expand Down
2 changes: 1 addition & 1 deletion charts/prose/templates/opa-service.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "charts.fullname" . }}
name: {{ .Values.opa.name }}
labels:
{{- include "charts.labels" . | nindent 4 }}
spec:
Expand Down
2 changes: 1 addition & 1 deletion charts/prose/templates/presidio-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "charts.fullname" . }}
name: {{ .Values.presidio.name }}
labels:
{{- include "charts.labels" . | nindent 4 }}
spec:
Expand Down
2 changes: 1 addition & 1 deletion charts/prose/templates/presidio-service.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "charts.fullname" . }}
name: {{ .Values.presidio.name }}
labels:
{{- include "charts.labels" . | nindent 4 }}
spec:
Expand Down
2 changes: 2 additions & 0 deletions charts/prose/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
replicaCount: 1

opa:
name: opa
image:
repository: ghcr.io/dettanym/prose-opa
pullPolicy: IfNotPresent
Expand All @@ -15,6 +16,7 @@ opa:
port: 8080

presidio:
name: presidio
image:
repository: ghcr.io/dettanym/prose-presidio
pullPolicy: IfNotPresent
Expand Down

0 comments on commit a763f72

Please sign in to comment.