mayadata-io / mayadata-io/d-operators

use case: detect & install iscsi

Open
#1 13 comments 2 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

command dao design pod config
Dominant language
Go
Stars
10
Forks
6
PR merge metrics
No merged PRs in 30d

Description

ref - https://gist.github.com/jjo/1ccade2ea3ae05c5825fd37c8722d4f6
ref - https://github.com/go-cmd/cmd

Draft - 0
kind: Command
apiVersion: dao.mayadata.io/v1alpha1
metadata:
  name: install-cephfs
  annotations:
    cmd: &cmd apt-get update -qy && apt-get install -qy tgt ceph-fs-common ceph-common xfsprogs
spec:
  hostPID: true
  securityContext:
    privileged: true
  command:
    - nsenter
    - --mount=/proc/1/ns/mnt
    - --
    - sh
    - -c
    - *cmd
status:
  exitCode:
  reason:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.