Merge pull request #781 from kyanagimoto/secret-restart-analysis

Add missing TrackedConfig field to Canary status CRD
This commit is contained in:
Stefan Prodan
2021-01-19 11:01:49 +02:00
committed by GitHub
6 changed files with 29 additions and 0 deletions
+5
View File
@@ -941,6 +941,11 @@ spec:
- Failed
- Terminating
- Terminated
trackedConfigs:
description: TrackedConfig of this canary
additionalProperties:
type: string
type: object
canaryWeight:
description: Traffic weight routed to canary
type: number
+5
View File
@@ -941,6 +941,11 @@ spec:
- Failed
- Terminating
- Terminated
trackedConfigs:
description: TrackedConfig of this canary
additionalProperties:
type: string
type: object
canaryWeight:
description: Traffic weight routed to canary
type: number
+5
View File
@@ -941,6 +941,11 @@ spec:
- Failed
- Terminating
- Terminated
trackedConfigs:
description: TrackedConfig of this canary
additionalProperties:
type: string
type: object
canaryWeight:
description: Traffic weight routed to canary
type: number
+6
View File
@@ -31,6 +31,12 @@ spec:
- name: podinfod
image: stefanprodan/podinfo:3.1.0
imagePullPolicy: IfNotPresent
env:
- name: PODINFO_SECRET_VALUE
valueFrom:
secretKeyRef:
name: podinfo-secret
key: value
ports:
- name: http
containerPort: 9898
+1
View File
@@ -19,5 +19,6 @@ kubectl apply -k ${REPO_ROOT}/kustomize/tester
kubectl -n test rollout status deployment/flagger-loadtester
echo '>>> Deploy podinfo'
kubectl apply -f ${REPO_ROOT}/test/workloads/secret.yaml
kubectl apply -f ${REPO_ROOT}/test/workloads/deployment.yaml
kubectl apply -f ${REPO_ROOT}/test/workloads/daemonset.yaml
+7
View File
@@ -0,0 +1,7 @@
apiVersion: v1
kind: Secret
metadata:
name: podinfo-secret
namespace: test
stringData:
value: s3cr3t