Skip to content

Commit

Permalink
Fix a typo everywhere (#680)
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Jing <jingch@vmware.com>
  • Loading branch information
JingChen23 authored Jul 4, 2022
1 parent ab31bd4 commit ce8bb93
Show file tree
Hide file tree
Showing 70 changed files with 175 additions and 175 deletions.
12 changes: 6 additions & 6 deletions helm-charts/FATE-Exchange/templates/nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ apiVersion: v1
metadata:
name: nginx-config
labels:
fateMoudle: nginx
fateModule: nginx
{{ include "fate.labels" . | indent 4 }}
data:
route_table.yaml: |
Expand Down Expand Up @@ -113,20 +113,20 @@ kind: Deployment
metadata:
name: nginx
labels:
fateMoudle: nginx
fateModule: nginx
{{ include "fate.labels" . | indent 4 }}
spec:
replicas: {{ default 1 .Values.modules.nginx.replicas }}
strategy:
type: Recreate
selector:
matchLabels:
fateMoudle: nginx
fateModule: nginx
{{ include "fate.matchLabels" . | indent 6 }}
template:
metadata:
labels:
fateMoudle: nginx
fateModule: nginx
{{ include "fate.labels" . | indent 8 }}
spec:
containers:
Expand Down Expand Up @@ -177,7 +177,7 @@ kind: Service
metadata:
name: nginx
labels:
fateMoudle: nginx
fateModule: nginx
{{ include "fate.labels" . | indent 4 }}
spec:
ports:
Expand All @@ -200,7 +200,7 @@ spec:
loadBalancerIP: "{{ .Values.modules.nginx.loadBalancerIP }}"
{{- end }}
selector:
fateMoudle: nginx
fateModule: nginx
{{ include "fate.matchLabels" . | indent 4 }}
---
{{ end }}
2 changes: 1 addition & 1 deletion helm-charts/FATE-Exchange/templates/psp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
labels:
fateMoudle: psp
fateModule: psp
{{ include "fate.labels" . | indent 4 }}
name: {{ .Values.partyName }}
spec:
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/FATE-Exchange/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
labels:
fateMoudle: role
fateModule: role
{{ include "fate.labels" . | indent 4 }}
name: {{ .Values.partyName }}
rules:
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/FATE-Exchange/templates/rolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
fateMoudle: serviceAccount
fateModule: serviceAccount
{{ include "fate.labels" . | indent 4 }}
name: {{ .Values.partyName }}
roleRef:
Expand Down
12 changes: 6 additions & 6 deletions helm-charts/FATE-Exchange/templates/rollsite-module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ apiVersion: v1
metadata:
name: rollsite-config
labels:
fateMoudle: rollsite
fateModule: rollsite
{{ include "fate.labels" . | indent 4 }}
data:
eggroll.properties: |
Expand Down Expand Up @@ -85,20 +85,20 @@ kind: Deployment
metadata:
name: rollsite
labels:
fateMoudle: rollsite
fateModule: rollsite
{{ include "fate.labels" . | indent 4 }}
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
fateMoudle: rollsite
fateModule: rollsite
{{ include "fate.matchLabels" . | indent 6 }}
template:
metadata:
labels:
fateMoudle: rollsite
fateModule: rollsite
{{ include "fate.labels" . | indent 8 }}
spec:
hostAliases:
Expand Down Expand Up @@ -161,7 +161,7 @@ kind: Service
metadata:
name: rollsite
labels:
fateMoudle: rollsite
fateModule: rollsite
{{ include "fate.labels" . | indent 4 }}
spec:
ports:
Expand All @@ -177,7 +177,7 @@ spec:
loadBalancerIP: "{{ .Values.modules.rollsite.loadBalancerIP }}"
{{- end }}
selector:
fateMoudle: rollsite
fateModule: rollsite
{{ include "fate.matchLabels" . | indent 4 }}
---
{{ end }}
2 changes: 1 addition & 1 deletion helm-charts/FATE-Exchange/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
labels:
fateMoudle: serviceAccount
fateModule: serviceAccount
{{ include "fate.labels" . | indent 4 }}
name: {{ .Values.partyName }}
{{- end -}}
14 changes: 7 additions & 7 deletions helm-charts/FATE-Exchange/templates/traffic-server-module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ apiVersion: v1
metadata:
name: traffic-server-config
labels:
fateMoudle: traffic-server
fateModule: traffic-server
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
owner: kubefate
Expand Down Expand Up @@ -46,7 +46,7 @@ apiVersion: v1
metadata:
name: traffic-server-sni
labels:
fateMoudle: traffic-server
fateModule: traffic-server
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
owner: kubefate
Expand All @@ -64,7 +64,7 @@ kind: Deployment
metadata:
name: traffic-server
labels:
fateMoudle: traffic-server
fateModule: traffic-server
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
owner: kubefate
Expand All @@ -75,13 +75,13 @@ spec:
type: Recreate
selector:
matchLabels:
fateMoudle: traffic-server
fateModule: traffic-server
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
template:
metadata:
labels:
fateMoudle: traffic-server
fateModule: traffic-server
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
owner: kubefate
Expand Down Expand Up @@ -148,7 +148,7 @@ apiVersion: v1
kind: Service
metadata:
labels:
fateMoudle: traffic-server
fateModule: traffic-server
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
owner: kubefate
Expand All @@ -166,7 +166,7 @@ spec:
loadBalancerIP: "{{ .Values.modules.trafficServer.loadBalancerIP }}"
{{- end }}
selector:
fateMoudle: traffic-server
fateModule: traffic-server
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
---
Expand Down
4 changes: 2 additions & 2 deletions helm-charts/FATE-Serving/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ kind: Ingress
metadata:
name: serving-proxy
labels:
fateMoudle: serving-proxy
fateModule: serving-proxy
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
owner: kubefate
Expand Down Expand Up @@ -52,7 +52,7 @@ kind: Ingress
metadata:
name: serving-admin
labels:
fateMoudle: serving-admin
fateModule: serving-admin
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
owner: kubefate
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/FATE-Serving/templates/istio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ kind: VirtualService
metadata:
name: fate-serving-ingress
labels:
fateMoudle: serving-proxy
fateModule: serving-proxy
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
owner: kubefate
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/FATE-Serving/templates/psp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
labels:
fateMoudle: psp
fateModule: psp
{{ include "fate.labels" . | indent 4 }}
name: {{ .Values.partyName }}
spec:
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/FATE-Serving/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
labels:
fateMoudle: role
fateModule: role
{{ include "fate.labels" . | indent 4 }}
name: {{ .Values.partyName }}
rules:
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/FATE-Serving/templates/rolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
fateMoudle: serviceAccount
fateModule: serviceAccount
{{ include "fate.labels" . | indent 4 }}
name: {{ .Values.partyName }}
roleRef:
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/FATE-Serving/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
labels:
fateMoudle: serviceAccount
fateModule: serviceAccount
{{ include "fate.labels" . | indent 4 }}
name: {{ .Values.partyName }}
{{- end -}}
12 changes: 6 additions & 6 deletions helm-charts/FATE-Serving/templates/serving-admin-module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ apiVersion: v1
metadata:
name: serving-admin-config
labels:
fateMoudle: serving-admin
fateModule: serving-admin
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
owner: kubefate
Expand Down Expand Up @@ -44,7 +44,7 @@ kind: Deployment
metadata:
name: serving-admin
labels:
fateMoudle: serving-admin
fateModule: serving-admin
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
owner: kubefate
Expand All @@ -55,13 +55,13 @@ spec:
type: Recreate
selector:
matchLabels:
fateMoudle: serving-admin
fateModule: serving-admin
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
template:
metadata:
labels:
fateMoudle: serving-admin
fateModule: serving-admin
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
owner: kubefate
Expand Down Expand Up @@ -104,7 +104,7 @@ apiVersion: v1
kind: Service
metadata:
labels:
fateMoudle: serving-admin
fateModule: serving-admin
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
owner: kubefate
Expand All @@ -121,7 +121,7 @@ spec:
protocol: TCP
type: {{ .Values.servingAdmin.type }}
selector:
fateMoudle: serving-admin
fateModule: serving-admin
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
{{ end }}
12 changes: 6 additions & 6 deletions helm-charts/FATE-Serving/templates/serving-proxy-module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ apiVersion: v1
metadata:
name: serving-proxy-config
labels:
fateMoudle: serving-proxy
fateModule: serving-proxy
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
owner: kubefate
Expand Down Expand Up @@ -133,7 +133,7 @@ kind: Deployment
metadata:
name: serving-proxy
labels:
fateMoudle: serving-proxy
fateModule: serving-proxy
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
owner: kubefate
Expand All @@ -144,13 +144,13 @@ spec:
type: Recreate
selector:
matchLabels:
fateMoudle: serving-proxy
fateModule: serving-proxy
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
template:
metadata:
labels:
fateMoudle: serving-proxy
fateModule: serving-proxy
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
owner: kubefate
Expand Down Expand Up @@ -206,7 +206,7 @@ apiVersion: v1
kind: Service
metadata:
labels:
fateMoudle: serving-proxy
fateModule: serving-proxy
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
owner: kubefate
Expand All @@ -232,7 +232,7 @@ spec:
loadBalancerIP: "{{ .Values.servingProxy.loadBalancerIP }}"
{{- end }}
selector:
fateMoudle: serving-proxy
fateModule: serving-proxy
name: {{ .Values.partyName | quote }}
partyId: {{ .Values.partyId | quote }}
---
Expand Down
Loading

0 comments on commit ce8bb93

Please sign in to comment.