Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExposedMonopod ¶
type ExposedMonopod struct {
// URL to reach the exposed monopod to.
// Content depends on the ExposeType argument.
URL pulumi.StringOutput
// contains filtered or unexported fields
}
func NewExposedMonopod ¶
func NewExposedMonopod(ctx *pulumi.Context, args *ExposedMonopodArgs, opts ...pulumi.ResourceOption) (*ExposedMonopod, error)
NewExposedMonopod builds the Kubernetes resources for an exposed monopod. It fits the best cases of web or pwn challenges where only 1 pod is required.
type ExposedMonopodArgs ¶
type ExposedMonopodArgs struct {
Identity pulumi.StringInput
Label pulumi.StringInput
Hostname pulumi.StringInput
Image pulumi.StringInput
Port pulumi.IntInput
// Envs is a list of additional environment variables to
// set on the pods. Key is the varenv name, value is its
// value.
// Can be used to provision a per-instance flag.
Envs pulumi.StringMapInput
// Files is a list of additional files to inject in the pod
// filesystem on the pods. Key is the file absolute path,
// value is its content.
// Can be used to provision a per-instance flag.
//
// WARNING: provisionning a file in a directory makes adjacent
// files unavailable.
// For more info, refer to https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#populate-a-volume-with-data-stored-in-a-configmap
Files pulumi.StringMapInput
FromCIDR pulumi.StringPtrInput
ExposeType ExposeType
// IngressAnnotations is a set of additional annotations to
// put on the ingress, if the `ExposeType` is set to
// `ExposeIngress`.
IngressAnnotations pulumi.StringMapInput
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.