github.com/verrazzano/verrazzano@v1.7.1/tools/vz/pkg/internal/test/cluster/ingress-invalid-shape/cluster-snapshot/verrazzano-install/deployments.json (about)

     1  {
     2      "kind": "DeploymentList",
     3      "apiVersion": "apps/v1",
     4      "metadata": {
     5          "resourceVersion": "11175915"
     6      },
     7      "items": [
     8          {
     9              "metadata": {
    10                  "name": "verrazzano-platform-operator",
    11                  "namespace": "verrazzano-install",
    12                  "uid": "f77dc65c-ee9a-4eca-9077-58842a5c255a",
    13                  "resourceVersion": "11144105",
    14                  "generation": 1,
    15                  "creationTimestamp": "2022-06-03T03:33:16Z",
    16                  "labels": {
    17                      "app": "verrazzano-platform-operator"
    18                  },
    19                  "annotations": {
    20                      "deployment.kubernetes.io/revision": "1",
    21                      "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"apps/v1\",\"kind\":\"Deployment\",\"metadata\":{\"annotations\":{},\"labels\":{\"app\":\"verrazzano-platform-operator\"},\"name\":\"verrazzano-platform-operator\",\"namespace\":\"verrazzano-install\"},\"spec\":{\"replicas\":1,\"selector\":{\"matchLabels\":{\"app\":\"verrazzano-platform-operator\"}},\"strategy\":{\"type\":\"Recreate\"},\"template\":{\"metadata\":{\"labels\":{\"app\":\"verrazzano-platform-operator\"}},\"spec\":{\"containers\":[{\"args\":[\"--zap-log-level=info\",\"--enable-webhook-validation=true\"],\"env\":[{\"name\":\"MODE\",\"value\":\"RUN_OPERATOR\"},{\"name\":\"VZ_INSTALL_IMAGE\",\"value\":\"ghcr.io/verrazzano/verrazzano-platform-operator:1.4.0-20220602154244-060d0732\"}],\"image\":\"ghcr.io/verrazzano/verrazzano-platform-operator:1.4.0-20220602154244-060d0732\",\"imagePullPolicy\":\"IfNotPresent\",\"name\":\"verrazzano-platform-operator\",\"ports\":[{\"containerPort\":9443,\"name\":\"webhook\",\"protocol\":\"TCP\"}],\"resources\":{\"requests\":{\"memory\":\"72Mi\"}},\"startupProbe\":{\"failureThreshold\":15,\"httpGet\":{\"httpHeaders\":[{\"name\":\"Content-Type\",\"value\":\"application/json\"}],\"path\":\"/validate-install-verrazzano-io-v1alpha1-verrazzano\",\"port\":\"webhook\",\"scheme\":\"HTTPS\"},\"periodSeconds\":5,\"timeoutSeconds\":3},\"volumeMounts\":[{\"mountPath\":\"/etc/webhook/certs\",\"name\":\"webhook-certs\",\"readOnly\":true},{\"mountPath\":\"/var/log\",\"name\":\"varlog\",\"readOnly\":true}]}],\"initContainers\":[{\"args\":[\"--zap-log-level=info\",\"--init-webhooks=true\"],\"env\":[{\"name\":\"MODE\",\"value\":\"RUN_OPERATOR\"}],\"image\":\"ghcr.io/verrazzano/verrazzano-platform-operator:1.4.0-20220602154244-060d0732\",\"imagePullPolicy\":\"IfNotPresent\",\"name\":\"webhook-init\",\"volumeMounts\":[{\"mountPath\":\"/etc/webhook/certs\",\"name\":\"webhook-certs\"}]}],\"serviceAccountName\":\"verrazzano-platform-operator\",\"terminationGracePeriodSeconds\":0,\"volumes\":[{\"emptyDir\":{},\"name\":\"webhook-certs\"},{\"hostPath\":{\"path\":\"/var/log\",\"type\":\"\"},\"name\":\"varlog\"}]}}}}\n"
    22                  },
    23                  "managedFields": [
    24                      {
    25                          "manager": "kubectl",
    26                          "operation": "Update",
    27                          "apiVersion": "apps/v1",
    28                          "time": "2022-06-03T03:33:16Z",
    29                          "fieldsType": "FieldsV1",
    30                          "fieldsV1": {
    31                              "f:metadata": {
    32                                  "f:annotations": {
    33                                      ".": {},
    34                                      "f:kubectl.kubernetes.io/last-applied-configuration": {}
    35                                  },
    36                                  "f:labels": {
    37                                      ".": {},
    38                                      "f:app": {}
    39                                  }
    40                              },
    41                              "f:spec": {
    42                                  "f:progressDeadlineSeconds": {},
    43                                  "f:replicas": {},
    44                                  "f:revisionHistoryLimit": {},
    45                                  "f:selector": {},
    46                                  "f:strategy": {
    47                                      "f:type": {}
    48                                  },
    49                                  "f:template": {
    50                                      "f:metadata": {
    51                                          "f:labels": {
    52                                              ".": {},
    53                                              "f:app": {}
    54                                          }
    55                                      },
    56                                      "f:spec": {
    57                                          "f:containers": {
    58                                              "k:{\"name\":\"verrazzano-platform-operator\"}": {
    59                                                  ".": {},
    60                                                  "f:args": {},
    61                                                  "f:env": {
    62                                                      ".": {},
    63                                                      "k:{\"name\":\"MODE\"}": {
    64                                                          ".": {},
    65                                                          "f:name": {},
    66                                                          "f:value": {}
    67                                                      },
    68                                                      "k:{\"name\":\"VZ_INSTALL_IMAGE\"}": {
    69                                                          ".": {},
    70                                                          "f:name": {},
    71                                                          "f:value": {}
    72                                                      }
    73                                                  },
    74                                                  "f:image": {},
    75                                                  "f:imagePullPolicy": {},
    76                                                  "f:name": {},
    77                                                  "f:ports": {
    78                                                      ".": {},
    79                                                      "k:{\"containerPort\":9443,\"protocol\":\"TCP\"}": {
    80                                                          ".": {},
    81                                                          "f:containerPort": {},
    82                                                          "f:name": {},
    83                                                          "f:protocol": {}
    84                                                      }
    85                                                  },
    86                                                  "f:resources": {
    87                                                      ".": {},
    88                                                      "f:requests": {
    89                                                          ".": {},
    90                                                          "f:memory": {}
    91                                                      }
    92                                                  },
    93                                                  "f:startupProbe": {
    94                                                      ".": {},
    95                                                      "f:failureThreshold": {},
    96                                                      "f:httpGet": {
    97                                                          ".": {},
    98                                                          "f:httpHeaders": {},
    99                                                          "f:path": {},
   100                                                          "f:port": {},
   101                                                          "f:scheme": {}
   102                                                      },
   103                                                      "f:periodSeconds": {},
   104                                                      "f:successThreshold": {},
   105                                                      "f:timeoutSeconds": {}
   106                                                  },
   107                                                  "f:terminationMessagePath": {},
   108                                                  "f:terminationMessagePolicy": {},
   109                                                  "f:volumeMounts": {
   110                                                      ".": {},
   111                                                      "k:{\"mountPath\":\"/etc/webhook/certs\"}": {
   112                                                          ".": {},
   113                                                          "f:mountPath": {},
   114                                                          "f:name": {},
   115                                                          "f:readOnly": {}
   116                                                      },
   117                                                      "k:{\"mountPath\":\"/var/log\"}": {
   118                                                          ".": {},
   119                                                          "f:mountPath": {},
   120                                                          "f:name": {},
   121                                                          "f:readOnly": {}
   122                                                      }
   123                                                  }
   124                                              }
   125                                          },
   126                                          "f:dnsPolicy": {},
   127                                          "f:initContainers": {
   128                                              ".": {},
   129                                              "k:{\"name\":\"webhook-init\"}": {
   130                                                  ".": {},
   131                                                  "f:args": {},
   132                                                  "f:env": {
   133                                                      ".": {},
   134                                                      "k:{\"name\":\"MODE\"}": {
   135                                                          ".": {},
   136                                                          "f:name": {},
   137                                                          "f:value": {}
   138                                                      }
   139                                                  },
   140                                                  "f:image": {},
   141                                                  "f:imagePullPolicy": {},
   142                                                  "f:name": {},
   143                                                  "f:resources": {},
   144                                                  "f:terminationMessagePath": {},
   145                                                  "f:terminationMessagePolicy": {},
   146                                                  "f:volumeMounts": {
   147                                                      ".": {},
   148                                                      "k:{\"mountPath\":\"/etc/webhook/certs\"}": {
   149                                                          ".": {},
   150                                                          "f:mountPath": {},
   151                                                          "f:name": {}
   152                                                      }
   153                                                  }
   154                                              }
   155                                          },
   156                                          "f:restartPolicy": {},
   157                                          "f:schedulerName": {},
   158                                          "f:securityContext": {},
   159                                          "f:serviceAccount": {},
   160                                          "f:serviceAccountName": {},
   161                                          "f:terminationGracePeriodSeconds": {},
   162                                          "f:volumes": {
   163                                              ".": {},
   164                                              "k:{\"name\":\"varlog\"}": {
   165                                                  ".": {},
   166                                                  "f:hostPath": {
   167                                                      ".": {},
   168                                                      "f:path": {},
   169                                                      "f:type": {}
   170                                                  },
   171                                                  "f:name": {}
   172                                              },
   173                                              "k:{\"name\":\"webhook-certs\"}": {
   174                                                  ".": {},
   175                                                  "f:emptyDir": {},
   176                                                  "f:name": {}
   177                                              }
   178                                          }
   179                                      }
   180                                  }
   181                              }
   182                          }
   183                      },
   184                      {
   185                          "manager": "kube-controller-manager",
   186                          "operation": "Update",
   187                          "apiVersion": "apps/v1",
   188                          "time": "2022-06-03T03:33:47Z",
   189                          "fieldsType": "FieldsV1",
   190                          "fieldsV1": {
   191                              "f:metadata": {
   192                                  "f:annotations": {
   193                                      "f:deployment.kubernetes.io/revision": {}
   194                                  }
   195                              },
   196                              "f:status": {
   197                                  "f:availableReplicas": {},
   198                                  "f:conditions": {
   199                                      ".": {},
   200                                      "k:{\"type\":\"Available\"}": {
   201                                          ".": {},
   202                                          "f:lastTransitionTime": {},
   203                                          "f:lastUpdateTime": {},
   204                                          "f:message": {},
   205                                          "f:reason": {},
   206                                          "f:status": {},
   207                                          "f:type": {}
   208                                      },
   209                                      "k:{\"type\":\"Progressing\"}": {
   210                                          ".": {},
   211                                          "f:lastTransitionTime": {},
   212                                          "f:lastUpdateTime": {},
   213                                          "f:message": {},
   214                                          "f:reason": {},
   215                                          "f:status": {},
   216                                          "f:type": {}
   217                                      }
   218                                  },
   219                                  "f:observedGeneration": {},
   220                                  "f:readyReplicas": {},
   221                                  "f:replicas": {},
   222                                  "f:updatedReplicas": {}
   223                              }
   224                          }
   225                      }
   226                  ]
   227              },
   228              "spec": {
   229                  "replicas": 1,
   230                  "selector": {
   231                      "matchLabels": {
   232                          "app": "verrazzano-platform-operator"
   233                      }
   234                  },
   235                  "template": {
   236                      "metadata": {
   237                          "creationTimestamp": null,
   238                          "labels": {
   239                              "app": "verrazzano-platform-operator"
   240                          }
   241                      },
   242                      "spec": {
   243                          "volumes": [
   244                              {
   245                                  "name": "webhook-certs",
   246                                  "emptyDir": {}
   247                              },
   248                              {
   249                                  "name": "varlog",
   250                                  "hostPath": {
   251                                      "path": "/var/log",
   252                                      "type": ""
   253                                  }
   254                              }
   255                          ],
   256                          "initContainers": [
   257                              {
   258                                  "name": "webhook-init",
   259                                  "image": "ghcr.io/verrazzano/verrazzano-platform-operator:1.4.0-20220602154244-060d0732",
   260                                  "args": [
   261                                      "--zap-log-level=info",
   262                                      "--init-webhooks=true"
   263                                  ],
   264                                  "env": [
   265                                      {
   266                                          "name": "MODE",
   267                                          "value": "RUN_OPERATOR"
   268                                      }
   269                                  ],
   270                                  "resources": {},
   271                                  "volumeMounts": [
   272                                      {
   273                                          "name": "webhook-certs",
   274                                          "mountPath": "/etc/webhook/certs"
   275                                      }
   276                                  ],
   277                                  "terminationMessagePath": "/dev/termination-log",
   278                                  "terminationMessagePolicy": "File",
   279                                  "imagePullPolicy": "IfNotPresent"
   280                              }
   281                          ],
   282                          "containers": [
   283                              {
   284                                  "name": "verrazzano-platform-operator",
   285                                  "image": "ghcr.io/verrazzano/verrazzano-platform-operator:1.4.0-20220602154244-060d0732",
   286                                  "args": [
   287                                      "--zap-log-level=info",
   288                                      "--enable-webhook-validation=true"
   289                                  ],
   290                                  "ports": [
   291                                      {
   292                                          "name": "webhook",
   293                                          "containerPort": 9443,
   294                                          "protocol": "TCP"
   295                                      }
   296                                  ],
   297                                  "env": [
   298                                      {
   299                                          "name": "MODE",
   300                                          "value": "RUN_OPERATOR"
   301                                      },
   302                                      {
   303                                          "name": "VZ_INSTALL_IMAGE",
   304                                          "value": "ghcr.io/verrazzano/verrazzano-platform-operator:1.4.0-20220602154244-060d0732"
   305                                      }
   306                                  ],
   307                                  "resources": {
   308                                      "requests": {
   309                                          "memory": "72Mi"
   310                                      }
   311                                  },
   312                                  "volumeMounts": [
   313                                      {
   314                                          "name": "webhook-certs",
   315                                          "readOnly": true,
   316                                          "mountPath": "/etc/webhook/certs"
   317                                      },
   318                                      {
   319                                          "name": "varlog",
   320                                          "readOnly": true,
   321                                          "mountPath": "/var/log"
   322                                      }
   323                                  ],
   324                                  "startupProbe": {
   325                                      "httpGet": {
   326                                          "path": "/validate-install-verrazzano-io-v1alpha1-verrazzano",
   327                                          "port": "webhook",
   328                                          "scheme": "HTTPS",
   329                                          "httpHeaders": [
   330                                              {
   331                                                  "name": "Content-Type",
   332                                                  "value": "application/json"
   333                                              }
   334                                          ]
   335                                      },
   336                                      "timeoutSeconds": 3,
   337                                      "periodSeconds": 5,
   338                                      "successThreshold": 1,
   339                                      "failureThreshold": 15
   340                                  },
   341                                  "terminationMessagePath": "/dev/termination-log",
   342                                  "terminationMessagePolicy": "File",
   343                                  "imagePullPolicy": "IfNotPresent"
   344                              }
   345                          ],
   346                          "restartPolicy": "Always",
   347                          "terminationGracePeriodSeconds": 0,
   348                          "dnsPolicy": "ClusterFirst",
   349                          "serviceAccountName": "verrazzano-platform-operator",
   350                          "serviceAccount": "verrazzano-platform-operator",
   351                          "securityContext": {},
   352                          "schedulerName": "default-scheduler"
   353                      }
   354                  },
   355                  "strategy": {
   356                      "type": "Recreate"
   357                  },
   358                  "revisionHistoryLimit": 10,
   359                  "progressDeadlineSeconds": 600
   360              },
   361              "status": {
   362                  "observedGeneration": 1,
   363                  "replicas": 1,
   364                  "updatedReplicas": 1,
   365                  "readyReplicas": 1,
   366                  "availableReplicas": 1,
   367                  "conditions": [
   368                      {
   369                          "type": "Available",
   370                          "status": "True",
   371                          "lastUpdateTime": "2022-06-03T03:33:47Z",
   372                          "lastTransitionTime": "2022-06-03T03:33:47Z",
   373                          "reason": "MinimumReplicasAvailable",
   374                          "message": "Deployment has minimum availability."
   375                      },
   376                      {
   377                          "type": "Progressing",
   378                          "status": "True",
   379                          "lastUpdateTime": "2022-06-03T03:33:47Z",
   380                          "lastTransitionTime": "2022-06-03T03:33:16Z",
   381                          "reason": "NewReplicaSetAvailable",
   382                          "message": "ReplicaSet \"verrazzano-platform-operator-7bf6794d99\" has successfully progressed."
   383                      }
   384                  ]
   385              }
   386          }
   387      ]
   388  }