Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions packs/hitachi-hspc-3.14.3/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Hitachi Storage Plug-in for Containers
Hitachi Storage Plug-in for Containers lets you create containers and run stateful applications
inside those containers by using the Hitachi storage volumes as dynamically provisioned
persistent volumes.

# Kubernetes versions supported:
Above 1.21
Maximum supported minor version is 1.31

# Pre-requisites
A Hitachi Virtual Storage Platform (VSP) array.

# Cloud types supported:
MAAS, Edge

# References:
- https://www.hitachivantara.com/
Binary file added packs/hitachi-hspc-3.14.3/charts/hspc-3.14.3.tgz
Binary file not shown.
23 changes: 23 additions & 0 deletions packs/hitachi-hspc-3.14.3/charts/hspc/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
23 changes: 23 additions & 0 deletions packs/hitachi-hspc-3.14.3/charts/hspc/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: v2
name: hspc
description: Installs Hitachi Storage Plug-in for Containers
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.14.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "3.14.3"
910 changes: 910 additions & 0 deletions packs/hitachi-hspc-3.14.3/charts/hspc/crds/hspc_crd.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# empty
50 changes: 50 additions & 0 deletions packs/hitachi-hspc-3.14.3/charts/hspc/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
control-plane: controller-manager
name: hspc-operator-controller-manager
namespace: {{ .Values.operator.namespace }}
spec:
replicas: 1
selector:
matchLabels:
control-plane: controller-manager
template:
metadata:
labels:
control-plane: controller-manager
spec:
containers:
- args:
- --enable-leader-election
command:
- /manager
image: hitachiedge1.jfrog.io/hitachicsi-oci-oss/hspc-operator:v1.14.3
imagePullPolicy: Always
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 15
periodSeconds: 20
name: manager
readinessProbe:
httpGet:
path: /readyz
port: 8080
initialDelaySeconds: 5
periodSeconds: 10
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 100m
memory: 20Mi
securityContext:
allowPrivilegeEscalation: false
securityContext:
runAsNonRoot: true
serviceAccountName: hspc-operator-controller-manager
terminationGracePeriodSeconds: 10
11 changes: 11 additions & 0 deletions packs/hitachi-hspc-3.14.3/charts/hspc/templates/hspc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: csi.hitachi.com/v1
kind: HSPC
metadata:
name: {{ .Values.hspc.name }}
namespace: {{ .Values.hspc.namespace }}
spec:
{{- if .Values.hspc.spec }}
{{ toYaml .Values.hspc.spec | indent 2 }}
{{- else }}
{}
{{- end }}
25 changes: 25 additions & 0 deletions packs/hitachi-hspc-3.14.3/charts/hspc/templates/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: v1
kind: Namespace
metadata:
labels:
kubernetes.io/metadata.name: {{ .Values.operator.namespace }}
pod-security.kubernetes.io/audit: privileged
pod-security.kubernetes.io/enforce: privileged
pod-security.kubernetes.io/enforce-version: latest
pod-security.kubernetes.io/warn: privileged
name: {{ .Values.operator.namespace }}
---
{{- if not (lookup "v1" "Namespace" "" .Values.hspc.namespace).kind }}
apiVersion: v1
kind: Namespace
metadata:
annotations:
"helm.sh/resource-policy": keep
labels:
kubernetes.io/metadata.name: {{ .Values.hspc.namespace }}
pod-security.kubernetes.io/audit: privileged
pod-security.kubernetes.io/enforce: privileged
pod-security.kubernetes.io/enforce-version: latest
pod-security.kubernetes.io/warn: privileged
name: {{ .Values.hspc.namespace }}
{{- end }}
Loading