Skip to content

Instantly share code, notes, and snippets.

View antorobin's full-sized avatar
💭
Available @Remote

Marshal Anto Robin antorobin

💭
Available @Remote
View GitHub Profile
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: vault-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
ui = true
disable_mlock = true
storage "raft" {
path = "/mnt/vault/data"
}
listener "tcp" {
address = "0.0.0.0:8200"
tls_disable = 1
@antorobin
antorobin / azure-storageclass.yaml
Created February 6, 2025 10:54
Azure Storageclass to create persistent storage with Azure file share
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: storageclass-azurefile
provisioner: file.csi.azure.com
reclaimPolicy: Retain
volumeBindingMode: Immediate
allowVolumeExpansion: true
mountOptions:
- dir_mode=0777
@antorobin
antorobin / azure-storage-secret.yaml
Created February 6, 2025 10:48
Kubernetes Manifest YAML file for Azure Storage Secret
apiVersion: v1
kind: Secret
metadata:
name: azure-storage-secret
namespace: default
type: Opaque
data:
azurestorageaccountname: <base64-encoded storage account name>
azurestorageaccountkey: <base64-encoded storage account access key>