mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
Merge pull request #781 from kyanagimoto/secret-restart-analysis
Add missing TrackedConfig field to Canary status CRD
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: podinfo-secret
|
||||
namespace: test
|
||||
stringData:
|
||||
value: s3cr3t
|
||||
Reference in New Issue
Block a user