Skip to content

Support creating 'https' urls #1465

@dgolovin

Description

@dgolovin

odo now supports creating https urls using --secure option

C:\p\openshift-test-workspace\nodejs-ex>C:\p\vscode-openshift-tools\out\tools\win32\odo url create -h
Create a URL for a component. The created URL can be used to access the specified component from outside the OpenShift cluster.

Usage:
  odo url create [url name] [flags]

Examples:
  # Create a URL with a specific name by automatically detecting the port used by the component
  odo url create example
  # Create a URL for the current component with a specific port
  odo url create --port 8080

  # Create a URL with a specific name and port
  odo url create example --port 8080

Flags:
      --context string   Use given context directory as a source for component settings
  -h, --help             Help for create
      --now              Push changes to the cluster immediately
      --port int         Port number for the url of the component, required in case of components which expose more than one service port (default -1)
      --secure           Creates a secure https url

Additional Flags:
  -v, --v Level              Log level for V logs. Level varies from 0 to 9 (default 0).
      --vmodule moduleSpec   Comma-separated list of pattern=N settings for file-filtered logging

See redhat-developer/odo#2561.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions