0.0.0-20230407123839 • Published 3 years ago

@kubernetes-models/cilium v0.0.0-20230407123839

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@kubernetes-models/cilium

Cilium CRD.

Installation

Install with npm.

npm install @kubernetes-models/cilium

Usage

import { CiliumLocalRedirectPolicy } from "@kubernetes-models/cilium/cilium.io/v2/CiliumLocalRedirectPolicy";

const lrp = new CiliumLocalRedirectPolicy({
  metadata: {
    name: "lrp"
  },
  spec: {
    redirectFrontend: {
      serviceMatcher: {
        serviceName: "my-service",
        namespace: "default"
      }
    },
    redirectBackend: {
      localEndpointSelector: {
        matchLabels: {
          name: "proxy"
        }
      },
      toPorts: [
        {
          port: "8080",
          protocol: "TCP"
        }
      ]
    }
  }
});

// Validate against JSON schema
lrp.validate();

License

MIT

2.3.2

1 year ago

2.3.1

1 year ago

2.3.0

2 years ago

2.2.4

2 years ago

2.2.3

3 years ago

2.2.2

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.1.0

3 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.1.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.0

4 years ago