Skip to content

Commit

Permalink
update golden test files
Browse files Browse the repository at this point in the history
Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
  • Loading branch information
Pothulapati committed Mar 25, 2020
1 parent 87f377c commit de2e4c6
Show file tree
Hide file tree
Showing 55 changed files with 1,965 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cli/cmd/testdata/inject-filepath/expected/injected_nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ spec:
runAsUser: 2102
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: var/run/linkerd/podinfo
name: podinfo
- mountPath: /var/run/linkerd/identity/end-entity
name: linkerd-identity-end-entity
initContainers:
Expand Down Expand Up @@ -145,4 +147,10 @@ spec:
- emptyDir:
medium: Memory
name: linkerd-identity-end-entity
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ spec:
runAsUser: 2102
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: var/run/linkerd/podinfo
name: podinfo
- mountPath: /var/run/linkerd/identity/end-entity
name: linkerd-identity-end-entity
initContainers:
Expand Down Expand Up @@ -145,6 +147,12 @@ spec:
- emptyDir:
medium: Memory
name: linkerd-identity-end-entity
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -256,6 +264,8 @@ spec:
runAsUser: 2102
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: var/run/linkerd/podinfo
name: podinfo
- mountPath: /var/run/linkerd/identity/end-entity
name: linkerd-identity-end-entity
initContainers:
Expand Down Expand Up @@ -293,4 +303,10 @@ spec:
- emptyDir:
medium: Memory
name: linkerd-identity-end-entity
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
8 changes: 8 additions & 0 deletions cli/cmd/testdata/inject-filepath/expected/injected_redis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ spec:
runAsUser: 2102
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: var/run/linkerd/podinfo
name: podinfo
- mountPath: /var/run/linkerd/identity/end-entity
name: linkerd-identity-end-entity
initContainers:
Expand Down Expand Up @@ -145,4 +147,10 @@ spec:
- emptyDir:
medium: Memory
name: linkerd-identity-end-entity
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
8 changes: 8 additions & 0 deletions cli/cmd/testdata/inject_contour.golden.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ spec:
runAsUser: 2102
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: var/run/linkerd/podinfo
name: podinfo
- mountPath: /var/run/linkerd/identity/end-entity
name: linkerd-identity-end-entity
initContainers:
Expand Down Expand Up @@ -185,4 +187,10 @@ spec:
- emptyDir:
medium: Memory
name: linkerd-identity-end-entity
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
7 changes: 7 additions & 0 deletions cli/cmd/testdata/inject_contour.input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,11 @@ spec:
volumeMounts:
- mountPath: /config
name: contour-config
volumes:
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
32 changes: 32 additions & 0 deletions cli/cmd/testdata/inject_emojivoto_already_injected.golden.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ spec:
runAsUser: 2102
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: var/run/linkerd/podinfo
name: podinfo
- mountPath: /var/run/linkerd/identity/end-entity
name: linkerd-identity-end-entity
initContainers:
Expand Down Expand Up @@ -156,6 +158,12 @@ spec:
- emptyDir:
medium: Memory
name: linkerd-identity-end-entity
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -278,6 +286,8 @@ spec:
runAsUser: 2102
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: var/run/linkerd/podinfo
name: podinfo
- mountPath: /var/run/linkerd/identity/end-entity
name: linkerd-identity-end-entity
initContainers:
Expand Down Expand Up @@ -315,6 +325,12 @@ spec:
- emptyDir:
medium: Memory
name: linkerd-identity-end-entity
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -437,6 +453,8 @@ spec:
runAsUser: 2102
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: var/run/linkerd/podinfo
name: podinfo
- mountPath: /var/run/linkerd/identity/end-entity
name: linkerd-identity-end-entity
initContainers:
Expand Down Expand Up @@ -474,6 +492,12 @@ spec:
- emptyDir:
medium: Memory
name: linkerd-identity-end-entity
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -596,6 +620,8 @@ spec:
runAsUser: 2102
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: var/run/linkerd/podinfo
name: podinfo
- mountPath: /var/run/linkerd/identity/end-entity
name: linkerd-identity-end-entity
initContainers:
Expand Down Expand Up @@ -633,4 +659,10 @@ spec:
- emptyDir:
medium: Memory
name: linkerd-identity-end-entity
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
8 changes: 8 additions & 0 deletions cli/cmd/testdata/inject_emojivoto_deployment.golden.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ spec:
runAsUser: 2102
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: var/run/linkerd/podinfo
name: podinfo
- mountPath: /var/run/linkerd/identity/end-entity
name: linkerd-identity-end-entity
initContainers:
Expand Down Expand Up @@ -156,4 +158,10 @@ spec:
- emptyDir:
medium: Memory
name: linkerd-identity-end-entity
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
7 changes: 7 additions & 0 deletions cli/cmd/testdata/inject_emojivoto_deployment.input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,11 @@ spec:
ports:
- containerPort: 80
name: http
volumes:
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ spec:
runAsUser: 2102
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: var/run/linkerd/podinfo
name: podinfo
- mountPath: /var/run/linkerd/identity/end-entity
name: linkerd-identity-end-entity
initContainers:
Expand Down Expand Up @@ -172,4 +174,10 @@ spec:
- emptyDir:
medium: Memory
name: linkerd-identity-end-entity
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ spec:
runAsUser: 2102
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: var/run/linkerd/podinfo
name: podinfo
- mountPath: /var/run/linkerd/identity/end-entity
name: linkerd-identity-end-entity
initContainers:
Expand Down Expand Up @@ -174,4 +176,10 @@ spec:
- emptyDir:
medium: Memory
name: linkerd-identity-end-entity
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,11 @@ spec:
ports:
- containerPort: 80
name: http
volumes:
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ spec:
runAsUser: 2102
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: var/run/linkerd/podinfo
name: podinfo
- mountPath: /var/run/linkerd/identity/end-entity
name: linkerd-identity-end-entity
initContainers:
Expand Down Expand Up @@ -156,6 +158,12 @@ spec:
- emptyDir:
medium: Memory
name: linkerd-identity-end-entity
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -278,6 +286,8 @@ spec:
runAsUser: 2102
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: var/run/linkerd/podinfo
name: podinfo
- mountPath: /var/run/linkerd/identity/end-entity
name: linkerd-identity-end-entity
initContainers:
Expand Down Expand Up @@ -315,4 +325,10 @@ spec:
- emptyDir:
medium: Memory
name: linkerd-identity-end-entity
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ spec:
ports:
- containerPort: 80
name: http
volumes:
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -59,4 +66,11 @@ spec:
ports:
- containerPort: 80
name: http
volumes:
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
8 changes: 8 additions & 0 deletions cli/cmd/testdata/inject_emojivoto_deployment_debug.golden.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ spec:
runAsUser: 2102
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: var/run/linkerd/podinfo
name: podinfo
- mountPath: /var/run/linkerd/identity/end-entity
name: linkerd-identity-end-entity
initContainers:
Expand Down Expand Up @@ -161,4 +163,10 @@ spec:
- emptyDir:
medium: Memory
name: linkerd-identity-end-entity
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ spec:
runAsUser: 2102
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: var/run/linkerd/podinfo
name: podinfo
- mountPath: /var/run/linkerd/identity/end-entity
name: linkerd-identity-end-entity
initContainers:
Expand Down Expand Up @@ -156,4 +158,10 @@ spec:
- emptyDir:
medium: Memory
name: linkerd-identity-end-entity
- downwardAPI:
items:
- fieldRef:
fieldPath: metadata.labels
path: labels
name: podinfo
---
Loading

0 comments on commit de2e4c6

Please sign in to comment.