Skip to content

Netcracker/qubership-docker-kubectl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

qubership-docker-kubectl

A lightweight Alpine-based Docker image with kubectl preinstalled.
The image is primarily intended for use in Helm hooks or other automation scenarios where direct access to kubectl is required.

Usage

Build the image locally:

docker build -t qubership-docker-kubectl:latest .

Use in Helm hook (example):

apiVersion: batch/v1
kind: Job
metadata:
  name: kubectl-job
  annotations:
    "helm.sh/hook": pre-install
spec:
  template:
    spec:
      containers:
        - name: kubectl
          image: ghcr.io/netcracker/qubership-docker-kubectl:latest
          command: ["kubectl", "get", "pods", "-A"]
      restartPolicy: Never

License

This project is licensed under the Apache-2.0 License.

About

No description or website provided.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors 6