fixed up longhorn;
This commit is contained in:
1 parent
1e7d3434b1
commit
eb5a403a8d
10 files changed
+58
-49
No files matched your search
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
full_path=${1}
|
||||
deployment=${2:-dev}
|
||||
app=$(basename $full_path)
|
||||
location=$(dirname $full_path)
|
||||
tmp_path=$(realpath ".tmp/$location/$deployment-$app.yaml")
|
||||
echo "writing $location/$app to $tmp_path"
|
||||
|
||||
mkdir -p $(dirname $tmp_path)
|
||||
|
||||
pushd $full_path
|
||||
helm dependency update
|
||||
helm template $app . --namespace $app \
|
||||
--debug \
|
||||
--values values.yaml \
|
||||
--values values-$deployment.yaml \
|
||||
> $tmp_path
|
||||
Regular → Executable
File mode changed.
@@ -0,0 +1,6 @@
|
||||
dependencies:
|
||||
- name: longhorn
|
||||
repository: https://charts.longhorn.io
|
||||
version: 1.4.0
|
||||
digest: sha256:886b8ed9d5d3d5f6d4fde6c11d9cd4e0b28a58cde2d87e6a81d17882c3937619
|
||||
generated: "2023-03-14T22:21:42.863841952Z"
|
||||
@@ -1,8 +1,9 @@
|
||||
apiVersion: v2
|
||||
name: longhorn
|
||||
description: ""
|
||||
description: A Helm chart for Kubernetes
|
||||
type: application
|
||||
version: 0.1.0
|
||||
dependencies:
|
||||
- name: longhorn
|
||||
version: v1.4.0
|
||||
repository: https://charts.longhorn.io
|
||||
Binary file not shown.
@@ -19,19 +19,19 @@ spec:
|
||||
hostNetwork: true
|
||||
hostPID: true
|
||||
initContainers:
|
||||
- name: iscsi-installation
|
||||
command:
|
||||
- nsenter
|
||||
- --mount=/proc/1/ns/mnt
|
||||
- --
|
||||
- bash
|
||||
- -c
|
||||
- *cmd
|
||||
image: alpine:3.12
|
||||
securityContext:
|
||||
privileged: true
|
||||
- name: iscsi-installation
|
||||
command:
|
||||
- nsenter
|
||||
- --mount=/proc/1/ns/mnt
|
||||
- --
|
||||
- bash
|
||||
- -c
|
||||
- *cmd
|
||||
image: alpine:3.12
|
||||
securityContext:
|
||||
privileged: true
|
||||
containers:
|
||||
- name: sleep
|
||||
image: k8s.gcr.io/pause:3.1
|
||||
- name: sleep
|
||||
image: k8s.gcr.io/pause:3.1
|
||||
updateStrategy:
|
||||
type: RollingUpdate
|
||||
type: RollingUpdate
|
||||
@@ -20,19 +20,19 @@ spec:
|
||||
hostNetwork: true
|
||||
hostPID: true
|
||||
initContainers:
|
||||
- name: nfs-installation
|
||||
command:
|
||||
- nsenter
|
||||
- --mount=/proc/1/ns/mnt
|
||||
- --
|
||||
- bash
|
||||
- -c
|
||||
- *cmd
|
||||
image: alpine:3.12
|
||||
securityContext:
|
||||
privileged: true
|
||||
- name: nfs-installation
|
||||
command:
|
||||
- nsenter
|
||||
- --mount=/proc/1/ns/mnt
|
||||
- --
|
||||
- bash
|
||||
- -c
|
||||
- *cmd
|
||||
image: alpine:3.12
|
||||
securityContext:
|
||||
privileged: true
|
||||
containers:
|
||||
- name: sleep
|
||||
image: k8s.gcr.io/pause:3.1
|
||||
- name: sleep
|
||||
image: k8s.gcr.io/pause:3.1
|
||||
updateStrategy:
|
||||
type: RollingUpdate
|
||||
type: RollingUpdate
|
||||
@@ -0,0 +1 @@
|
||||
global:
|
||||
@@ -0,0 +1 @@
|
||||
global:
|
||||
@@ -1,24 +1,5 @@
|
||||
apiVersion: v2
|
||||
name: .
|
||||
name: reverse-proxy
|
||||
description: A Helm chart for Kubernetes
|
||||
|
||||
# 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: 0.1.0
|
||||
|
||||
# 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: "1.16.0"
|
||||
Reference in new issue
Block a user