package options
import "k8s.io/pod-security-admission/cmd/webhook/server/options"
Index ¶
Constants ¶
const ( DefaultPort = 8443 DefaultInsecurePort = 8080 DefaultClientQPSLimit = 20 DefaultClientQPSBurst = 50 )
Types ¶
type Options ¶
type Options struct { // Kubeconfig is the file path to the KubeConfig file to use. Only for out-of-cluster configuration. Kubeconfig string // Config is the file path to the PodSecurity configuration file. Config string ClientQPSLimit float32 ClientQPSBurst int SecureServing apiserveroptions.SecureServingOptions }
Options has all the params needed to run a PodSecurity webhook.
func NewOptions ¶
func NewOptions() *Options
func (*Options) AddFlags ¶
func (*Options) Validate ¶
Validate validates all the required options.
Source Files ¶
options.go
- Version
- v0.32.2 (latest)
- Published
- Feb 13, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 2 months ago –
Tools for package owners.