apiVersion: apps/v1
kind: Deployment
metadata:
  name: status-updates-fe
  namespace: default
  uid: 45aba2cd-aad2-4928-a520-775a0db950f8
  resourceVersion: '888167942'
  generation: 4
  creationTimestamp: '2024-07-15T16:07:55Z'
  labels:
    app: status-updates-fe
    app.kubernetes.io/managed-by: Helm
    chart: status-updates-fe-v0.2.0
    heritage: Helm
    release: status-updates-fe
  annotations:
    deployment.kubernetes.io/revision: '4'
    meta.helm.sh/release-name: status-updates-fe
    meta.helm.sh/release-namespace: default
  managedFields:
    - manager: Go-http-client
      operation: Update
      apiVersion: apps/v1
      time: '2024-08-01T16:55:57Z'
      fieldsType: FieldsV1
      fieldsV1:
        f:metadata:
          f:annotations:
            .: {}
            f:meta.helm.sh/release-name: {}
            f:meta.helm.sh/release-namespace: {}
          f:labels:
            .: {}
            f:app: {}
            f:app.kubernetes.io/managed-by: {}
            f:chart: {}
            f:heritage: {}
            f:release: {}
        f:spec:
          f:progressDeadlineSeconds: {}
          f:replicas: {}
          f:revisionHistoryLimit: {}
          f:selector: {}
          f:strategy:
            f:rollingUpdate:
              .: {}
              f:maxSurge: {}
              f:maxUnavailable: {}
            f:type: {}
          f:template:
            f:metadata:
              f:annotations:
                .: {}
                f:alpha.vault.security.banzaicloud.io/reload-on-secret-change: {}
                f:alpha.vault.security.banzaicloud.io/secret-reload-count: {}
                f:vault.security.banzaicloud.io/vault-addr: {}
                f:vault.security.banzaicloud.io/vault-env-from-path: {}
                f:vault.security.banzaicloud.io/vault-path: {}
                f:vault.security.banzaicloud.io/vault-role: {}
                f:vault.security.banzaicloud.io/vault-skip-verify: {}
              f:labels:
                .: {}
                f:app: {}
                f:release: {}
            f:spec:
              f:containers:
                k:{"name":"status-updates-fe"}:
                  .: {}
                  f:env:
                    .: {}
                    k:{"name":"DD_AGENT_HOST"}:
                      .: {}
                      f:name: {}
                      f:valueFrom:
                        .: {}
                        f:fieldRef: {}
                  f:image: {}
                  f:imagePullPolicy: {}
                  f:livenessProbe:
                    .: {}
                    f:failureThreshold: {}
                    f:httpGet:
                      .: {}
                      f:path: {}
                      f:port: {}
                      f:scheme: {}
                    f:initialDelaySeconds: {}
                    f:periodSeconds: {}
                    f:successThreshold: {}
                    f:timeoutSeconds: {}
                  f:name: {}
                  f:ports:
                    .: {}
                    k:{"containerPort":3023,"protocol":"TCP"}:
                      .: {}
                      f:containerPort: {}
                      f:name: {}
                      f:protocol: {}
                  f:readinessProbe:
                    .: {}
                    f:failureThreshold: {}
                    f:httpGet:
                      .: {}
                      f:path: {}
                      f:port: {}
                      f:scheme: {}
                    f:initialDelaySeconds: {}
                    f:periodSeconds: {}
                    f:successThreshold: {}
                    f:timeoutSeconds: {}
                  f:resources: {}
                  f:terminationMessagePath: {}
                  f:terminationMessagePolicy: {}
              f:dnsPolicy: {}
              f:restartPolicy: {}
              f:schedulerName: {}
              f:securityContext: {}
              f:serviceAccount: {}
              f:serviceAccountName: {}
              f:terminationGracePeriodSeconds: {}
    - manager: kube-controller-manager
      operation: Update
      apiVersion: apps/v1
      time: '2024-08-01T16:57:38Z'
      fieldsType: FieldsV1
      fieldsV1:
        f:metadata:
          f:annotations:
            f:deployment.kubernetes.io/revision: {}
        f:status:
          f:availableReplicas: {}
          f:conditions:
            .: {}
            k:{"type":"Available"}:
              .: {}
              f:lastTransitionTime: {}
              f:lastUpdateTime: {}
              f:message: {}
              f:reason: {}
              f:status: {}
              f:type: {}
            k:{"type":"Progressing"}:
              .: {}
              f:lastTransitionTime: {}
              f:lastUpdateTime: {}
              f:message: {}
              f:reason: {}
              f:status: {}
              f:type: {}
          f:observedGeneration: {}
          f:readyReplicas: {}
          f:replicas: {}
          f:updatedReplicas: {}
      subresource: status
  selfLink: /apis/apps/v1/namespaces/default/deployments/status-updates-fe
status:
  observedGeneration: 4
  replicas: 2
  updatedReplicas: 2
  readyReplicas: 2
  availableReplicas: 2
  conditions:
    - type: Available
      status: 'True'
      lastUpdateTime: '2024-07-15T16:08:56Z'
      lastTransitionTime: '2024-07-15T16:08:56Z'
      reason: MinimumReplicasAvailable
      message: Deployment has minimum availability.
    - type: Progressing
      status: 'True'
      lastUpdateTime: '2024-08-01T16:57:38Z'
      lastTransitionTime: '2024-07-15T16:07:55Z'
      reason: NewReplicaSetAvailable
      message: ReplicaSet "status-updates-fe-b4b75bc96" has successfully progressed.
spec:
  replicas: 2
  selector:
    matchLabels:
      app: status-updates-fe
      release: status-updates-fe
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: status-updates-fe
        release: status-updates-fe
      annotations:
        alpha.vault.security.banzaicloud.io/reload-on-secret-change: 'true'
        alpha.vault.security.banzaicloud.io/secret-reload-count: '1'
        vault.security.banzaicloud.io/vault-addr: https://vault.gatethree.io:443
        vault.security.banzaicloud.io/vault-env-from-path: cluster-secrets/data/ist/status-updates-fe
        vault.security.banzaicloud.io/vault-path: ist-ux
        vault.security.banzaicloud.io/vault-role: vault-read
        vault.security.banzaicloud.io/vault-skip-verify: 'true'
    spec:
      containers:
        - name: status-updates-fe
          image: gcr.io/radix-shared-inf/status-updates-fe:80295
          ports:
            - name: http
              containerPort: 3023
              protocol: TCP
          env:
            - name: DD_AGENT_HOST
              value: "ist"
              valueFrom:
                fieldRef:
                  apiVersion: v1
                  fieldPath: status.hostIP
          resources: {}
          livenessProbe:
            httpGet:
              path: /healthz
              port: 3023
              scheme: HTTP
            initialDelaySeconds: 30
            timeoutSeconds: 1
            periodSeconds: 10
            successThreshold: 1
            failureThreshold: 3
          readinessProbe:
            httpGet:
              path: /healthz
              port: 3023
              scheme: HTTP
            initialDelaySeconds: 30
            timeoutSeconds: 1
            periodSeconds: 10
            successThreshold: 1
            failureThreshold: 3
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: File
          imagePullPolicy: IfNotPresent
      restartPolicy: Always
      terminationGracePeriodSeconds: 30
      dnsPolicy: ClusterFirst
      serviceAccountName: vault-read
      serviceAccount: vault-read
      securityContext: {}
      schedulerName: default-scheduler
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxUnavailable: 25%
      maxSurge: 25%
  revisionHistoryLimit: 10
  progressDeadlineSeconds: 600

Error - Failed to save resource: Deployment.apps "status-updates-fe" is invalid: spec.template.spec.containers[0].env[0].valueFrom: Invalid value: "": may not be specified when `value` is not empty