resources

package
v0.0.51 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateHealthcheckDenyPolicy added in v0.0.32

func CreateHealthcheckDenyPolicy(dCtx *core.DeploymentContext) *v1beta1.AuthorizationPolicy

func CreateKNativeConfiguration added in v0.0.6

func CreateKNativeConfiguration(ctx *core.DeploymentContext) *servingv1.Configuration

func CreateKNativeRoute added in v0.0.6

func CreateKNativeRoute(ctx *core.DeploymentContext) *servingv1.Route

func CreateNamespace

func CreateNamespace(namespaceName, envName string) *corev1.Namespace

Types

type SealedSecret

type SealedSecret struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec SealedSecretSpec `json:"spec"`
}

func CreateSealedSecret

func CreateSealedSecret(plaintextSecret string, secretMeta *core.SecretMeta, certBytes []byte, rand io.Reader) (*SealedSecret, error)

TODO: Consider using something like https://github.com/awnumar/memguard instead of passing the secret as a string

type SealedSecretSpec

type SealedSecretSpec struct {
	EncryptedData map[string][]byte `json:"encryptedData"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL