Skip to content

Validate application offline #307

@nirs

Description

@nirs

Given gather application output, validate the gathered application.

Can be done using:

  1. Add a flag or command to select this operation (e.g. --offline)
  2. The output directory can point to the output directory of the gather application command
  3. Read out/gather-application.yaml
application:
  name: appset-deploy-rbd
  namespace: openshift-gitops
config:
  clusterSet: clusterset-submariner-52bbff94cfe4421185
  clusters:
    c1:
      kubeconfig: /Users/nir/envs/ocp/c1
    c2:
      kubeconfig: /Users/nir/envs/ocp/c2
    hub:
      kubeconfig: /Users/nir/envs/ocp/hub
    passive-hub:
      kubeconfig: ""
  distro: ocp
  namespaces:
    argocdNamespace: openshift-gitops
    ramenDRClusterNamespace: openshift-dr-system
    ramenHubNamespace: openshift-operators
    ramenOpsNamespace: openshift-dr-ops
name: gather-application
namespaces:
- e2e-appset-deploy-rbd
- openshift-dr-system
- openshift-gitops
- openshift-operators
  1. Create an env

    • issue: we don't have the cluster name in the report
  2. Run the validation step using the data directory (gather-application.data)

Depends on #308

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions