github.com/argoproj-labs/argocd-operator@v0.10.0/tests/ha/1-020_validate_redis_ha_nonha/03-assert.yaml (about)

     1  apiVersion: kuttl.dev/v1beta1
     2  kind: TestAssert
     3  timeout: 720
     4  ---
     5  apiVersion: argoproj.io/v1alpha1
     6  kind: ArgoCD
     7  metadata:
     8    name: example-argocd
     9  status:
    10    phase: Available
    11    redis: Running
    12  ---
    13  apiVersion: apps/v1
    14  kind: Deployment
    15  metadata:
    16    name: example-argocd-redis-ha-haproxy
    17  spec:
    18    template:
    19      spec:
    20        containers:
    21        - name: haproxy
    22          resources:
    23            limits:
    24              cpu: 500m
    25              memory: 256Mi
    26            requests:
    27              cpu: 200m
    28              memory: 128Mi
    29        initContainers:
    30        - name: config-init
    31          resources:
    32            limits:
    33              cpu: 500m
    34              memory: 256Mi
    35            requests:
    36              cpu: 200m
    37              memory: 128Mi
    38  status:
    39    readyReplicas: 1
    40  ---
    41  apiVersion: apps/v1
    42  kind: StatefulSet
    43  metadata:
    44    name: example-argocd-redis-ha-server
    45  spec:
    46    template:
    47      spec:
    48        containers:
    49        - name: redis
    50          resources:
    51            limits:
    52              cpu: 500m
    53              memory: 256Mi
    54            requests:
    55              cpu: 200m
    56              memory: 128Mi
    57        - name: sentinel
    58          resources:
    59            limits:
    60              cpu: 500m
    61              memory: 256Mi
    62            requests:
    63              cpu: 200m
    64              memory: 128Mi
    65        initContainers:
    66        - name: config-init
    67          resources:
    68            limits:
    69              cpu: 500m
    70              memory: 256Mi
    71            requests:
    72              cpu: 200m
    73              memory: 128Mi
    74  status:
    75    readyReplicas: 3
    76  
    77