Skip to content
Snippets Groups Projects
Commit b8f2d3a6 authored by Marc Burnie [AWS]'s avatar Marc Burnie [AWS]
Browse files

using service name in template naming sheme due to shared namespacing

parent 27c61c24
No related branches found
No related tags found
No related merge requests found
{{- /* {{- template "common.authzpolicy" (list . "os-notification.authzpolicy") -}}
AUTHORIZATION POLICY {{- define "os-notification.authzpolicy" -}}
REQUIRED VALUES: [allowedPrincipals, namespace]
*/ -}}
{{- template "common.authzpolicy" (list . "service.authzpolicy") -}}
{{- define "service.authzpolicy" -}}
## Define overrides for the service authorization policy resource here ## Define overrides for the service authorization policy resource here
{{- end -}} {{- end -}}
{{- template "common.deployment" (list . "os-notification.deployment") -}}
{{- /* {{- define "os-notification.deployment" -}}
DEPLOYMENT
*/ -}}
{{- template "common.deployment" (list . "service.deployment") -}}
{{- define "service.deployment" -}}
## Define overrides for the service deployment resource here ## Define overrides for the service deployment resource here
{{- end -}} {{- end -}}
\ No newline at end of file
{{- /* {{- template "common.destinationrule" (list . "os-notification.destinationrule") -}}
DESTINATION RULE {{- define "os-notification.destinationrule" -}}
REQUIRED VALUES: [service.port, namespace]
*/ -}}
{{- template "common.destinationrule" (list . "service.destinationrule") -}}
{{- define "service.destinationrule" -}}
## Define overrides for the service destination rule resource here ## Define overrides for the service destination rule resource here
{{- end -}} {{- end -}}
\ No newline at end of file
{{- template "common.hpa" (list . "os-notification.hpa") -}}
{{- /* {{- define "os-notification.hpa" -}}
HPA
REQUIRED VALUES: [autoscaling, namespace]
*/ -}}
{{- template "common.hpa" (list . "service.hpa") -}}
{{- define "service.hpa" -}}
## Define overrides for the service HPA resource here ## Define overrides for the service HPA resource here
{{- end -}} {{- end -}}
{{- /* {{- template "common.service" (list . "os-notification.service") -}}
SERVICE {{- define "os-notification.service" -}}
REQUIRED VALUES: [service.port, service.type, namespace]
*/ -}}
{{- template "common.service" (list . "service.service") -}}
{{- define "service.service" -}}
## Define overrides for the service resource here ## Define overrides for the service resource here
{{- end -}} {{- end -}}
\ No newline at end of file
{{- /* {{- template "common.serviceaccount" (list . "os-notification.serviceaccount") -}}
SERVICE ACCOUNT {{- define "os-notification.serviceaccount" -}}
REQUIRED VALUES: [namespace]
*/ -}}
{{- template "common.serviceaccount" (list . "service.serviceaccount") -}}
{{- define "service.serviceaccount" -}}
## Define overrides for the service's service account resource here ## Define overrides for the service's service account resource here
{{- end -}} {{- end -}}
\ No newline at end of file
{{- /* {{- template "common.virtualservice" (list . "os-notification.virtualservice") -}}
VIRTUAL SERVICE {{- define "os-notification.virtualservice" -}}
REQUIRED VALUES: [service.apiPath, service.port, gatewayName, cors, namespace]
*/ -}}
{{- template "common.virtualservice" (list . "service.virtualservice") -}}
{{- define "service.virtualservice" -}}
## Define overrides for the service's virtual service resource here ## Define overrides for the service's virtual service resource here
{{- end -}} {{- end -}}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment