Skip to content

Commit

Permalink
fix: update talos config to v1.9.1, add cnpg plugin completion
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Plant <tom@tplant.com.au>
  • Loading branch information
pl4nty committed Jan 5, 2025
1 parent 8910fec commit d6eea8a
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 54 deletions.
1 change: 1 addition & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ RUN curl -L https://github.com/cloudnative-pg/cloudnative-pg/releases/download/v
# https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins
RUN printf "plugins+=(azure fluxcd kubectl helm) \n\
source <(kubectl completion zsh) \n\
source <(kubectl cnpg completion zsh) \n\
alias kubectl=kubecolor \n\
compdef kubecolor=kubectl \n\
source \$ZSH/oh-my-zsh.sh" >> ~/.zshrc
Expand Down
10 changes: 4 additions & 6 deletions kubernetes/cluster-1/system/longhorn/longhorn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,10 @@ spec:

# k annotate storageclass longhorn storageclass.kubernetes.io/is-default-class=true

# for data v2: "diskType": "block"

# k annotate node <node> node.longhorn.io/default-disks-config='[{
# "allowScheduling": true,
# "evictionRequested": false
# "path": "/dev/nvme0n1",
# "storageReserved": 0,
# "tags": [],
# "diskType": "block"
# "path": "/var/mnt/nvme0n1",
# "allowScheduling": true
# }]'
# k label node <node> node.longhorn.io/create-default-disk=config
Loading

0 comments on commit d6eea8a

Please sign in to comment.