devoptn/k8s-api

Kubernetes API Client

v0.0.3 2024-10-01 02:44 UTC

This package is auto-updated.

Last update: 2024-12-01 00:16:04 UTC


README

This package provides a simple way to interact with the Kubernetes API from a Laravel application.

Installation

To get started, you can install the package via composer:

composer require devoptn/k8s-api

(Optional) Next, you need to publish the configuration file:

php artisan vendor:publish --provider="DevOption\Kubernetes\KubernetesServiceProvider"

Note: The configuration file is optional. If you don't publish it, the package will use the default values.

Configuration

You can set the K8S_SERVICE_ACCOUNT_TOKEN in your .env file:

K8S_SERVICE_ACCOUNT_TOKEN=your-service-account-token

This service account token is used to authenticate with the Kubernetes API and should be a valid cluster-admin token.

Usage

Details coming soon.

License

This package is open-sourced software licensed under the MIT license.

Support

Please open an issue for support.

Contributing

Details coming soon.

Security Vulnerabilities

If you discover a security vulnerability within this package, please send an e-mail to security@devoption.io. All security vulnerabilities will be promptly addressed.