Skip to content

kubeforge/bastion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Container to act as an ssh bastion host

Deployment example

---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: kubeforge-bastion
  namespace: kubeforge-services
  labels:
    app: bastion
spec:
  replicas: 1
  strategy:
    type: Recreate
  selector:
    matchLabels:
      app: bastion
  template:
    metadata:
      labels:
        app: bastion
    spec:
      containers:
      - name: bastion
        image: kubeforge/bastion
        volumeMounts:
        - name: ssh-keys
          mountPath: "/root/.ssh/"
          readOnly: true
      volumes:
      - name: ssh-keys
        secret:
          secretName: ssh-keys-public
          items:
          - key: "userdata"
            path: "authorized_keys"

About

Container to act as an ssh bastion host.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published