...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/config/cloudcodesnippets/servicedirectory_v1beta1_servicedirectoryendpoint.yaml

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/config/cloudcodesnippets

     1label: Config Connector ServiceDirectoryEndpoint
     2markdownDescription: Creates yaml for a ServiceDirectoryEndpoint resource
     3insertText: |
     4  apiVersion: servicedirectory.cnrm.cloud.google.com/v1beta1
     5  kind: ServiceDirectoryEndpoint
     6  metadata:
     7    labels:
     8      \${1:label-one}: \${2:value-one}
     9    name: \${3:servicedirectoryendpoint-name}
    10  spec:
    11    serviceRef:
    12      name: \${4:servicedirectoryendpoint-dep}
    13    addressRef:
    14      name: \${5:servicedirectoryendpoint-dep}
    15    port: \${6:443}
    16    networkRef:
    17      external: \${7:projects/[PROJECT_NUMBER?]/locations/global/networks/servicedirectory-dep}

View as plain text