Skip to content

Commit

Permalink
remove trailing -api (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfunkhouser authored Aug 15, 2023
1 parent 2d395c7 commit b6f51d6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions charts/governor-api/templates/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: {{ include "common.capabilities.deployment.apiVersion" . }}
kind: Deployment
metadata:
name: {{ template "common.names.fullname" . }}-api
name: {{ template "common.names.fullname" . }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
app.kubernetes.io/component: api
spec:
Expand Down Expand Up @@ -32,7 +32,7 @@ spec:
- mountPath: /app-audit
name: audit-logs-api
containers:
- name: {{ template "common.names.fullname" . }}-api
- name: {{ template "common.names.fullname" . }}
args:
- serve
- "--config=/config/.governor.yaml"
Expand Down Expand Up @@ -100,7 +100,7 @@ spec:
readOnly: true
- name: audit-logs-api
mountPath: /app-audit
- name: audit-{{ template "common.names.fullname" . }}-api
- name: audit-{{ template "common.names.fullname" . }}
args:
- -f
- /app-audit/audit.log
Expand Down
8 changes: 4 additions & 4 deletions charts/governor-api/templates/ingress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
name: {{ template "common.names.fullname" . }}-api
name: {{ template "common.names.fullname" . }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
spec:
ingressClassName: nginx-governor
Expand All @@ -16,17 +16,17 @@ spec:
pathType: Prefix
backend:
service:
name: {{ template "common.names.fullname" $ }}-api
name: {{ template "common.names.fullname" $ }}
port:
name: http
- path: "/healthz"
pathType: Prefix
backend:
service:
name: {{ template "common.names.fullname" $ }}-api
name: {{ template "common.names.fullname" $ }}
port:
name: http
tls:
- hosts:
- {{ .Values.api.ingress.host }}
secretName: {{ template "common.names.fullname" . }}-api-tls
secretName: {{ template "common.names.fullname" . }}-tls
2 changes: 1 addition & 1 deletion charts/governor-api/templates/service-monitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ template "common.names.fullname" . }}-api
name: {{ template "common.names.fullname" . }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
spec:
namespaceSelector:
Expand Down
2 changes: 1 addition & 1 deletion charts/governor-api/templates/service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v1
kind: Service
metadata:
name: {{ template "common.names.fullname" . }}-api
name: {{ template "common.names.fullname" . }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
app.kubernetes.io/component: api
spec:
Expand Down

0 comments on commit b6f51d6

Please sign in to comment.