RoutingTemplate

Overview

Function

Declares a Go template used to render OcNOS CLI routing configuration for a CNE instance.

Names

Singular name

Plural name

Short name

routingtemplate

routingtemplates

—

API group and version

k8s.f5net.com/v1alpha1

Scope

Namespace

Specification

spec

Field

Required

Default

Description

body
string

Yes

—

Specifies the Go template body used to render OcNOS CLI. Must be at least one character. This field is immutable after creation. To update, delete the existing resource and create a new one.

The body field must not contain any of the following forbidden operations:

Forbidden string

Reason

os.Exit

Prevents process termination

syscall.

Prevents system-level calls

exec.Command

Prevents arbitrary command execution

os.Remove

Prevents file deletion

os.RemoveAll

Prevents recursive file deletion

ioutil.WriteFile

Prevents file writes

os.WriteFile

Prevents file writes