github.com/verrazzano/verrazzano@v1.7.1/examples/gitops-fleet/README.md (about)

     1  # GitOps with Verrazzano using Fleet
     2  ## Hello World Helidon
     3  
     4  The Hello World Helidon example is a [Helidon](https://helidon.io/#/)-based service that returns a "Hello World" response when invoked.
     5  
     6  For more information and the source code of this application, see the [Verrazzano Examples](https://github.com/verrazzano/examples).
     7  
     8  ## Create hello-helidon namespace
     9  ```
    10  kubectl create namespace hello-helidon
    11  kubectl label namespace hello-helidon verrazzano-managed=true istio-injection=enabled
    12  ```
    13  
    14  ## Create GitRepo instance
    15  
    16  Git repositories are register by creating a `GitRepo`. Apply this yaml to deploy the hello-helidon example via GitOps with Fleet
    17  
    18  ```yaml
    19  kind: GitRepo
    20  apiVersion: fleet.cattle.io/v1alpha1
    21  metadata:
    22    name: hello-helidon
    23    namespace: fleet-local
    24  spec:
    25  
    26    repo: https://github.com/verrazzano/verrazzano
    27  
    28    revision: fleet-blog
    29    
    30    paths:
    31    - examples/gitops-fleet
    32    - examples/hello-helidon
    33  
    34    targets:
    35    - name: local
    36      clusterSelector:
    37        matchLabels:
    38          name: local
    39  ```
    40  Copyright (c) 2021, Oracle and/or its affiliates.