This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: storage.dell.com/v1 | |
kind: ContainerStorageModule | |
metadata: | |
name: vxflexos | |
namespace: vxflexos | |
spec: | |
driver: | |
csiDriverType: "powerflex" | |
configVersion: v2.10.1 | |
common: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: kustomize.config.k8s.io/v1beta1 | |
kind: Kustomization | |
helmCharts: | |
- name: csi-isilon | |
repo: https://dell.github.io/helm-charts | |
releaseName: csi-isilon | |
namespace: powerscale | |
version: 2.10.0 | |
valuesFile: values.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import datetime | |
import re | |
from collections import defaultdict | |
import subprocess | |
import shutil | |
from dateutil.relativedelta import relativedelta | |
# Check that the `gh` command is in the path | |
def check_gh_command(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'json' | |
require 'pry' if ENV['INTERACTIVE'] | |
gh = 'gh api -H "Accept: application/vnd.github+json"' | |
#repos = %w(dell/csm dell/csi-powermax dell/csi-unity dell/csi-powerflex dell/csi-powerstore dell/csi-powerscale) | |
repos = JSON.parse(%x[#{gh} /users/dell/repos]).select {|r| r['full_name'] =~ /csm|csi-|karavi|ansible/} | |
subscribers = [] | |
contributors = [] | |
stargazers = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Match] | |
MACAddress=00:50:56:82:ba:db | |
[Network] | |
[Address] | |
Address=10.247.247.247/24 | |
[Route] | |
Gateway=10.247.247.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function process( /*RESTAPIRequest*/ request, /*RESTAPIResponse*/ response) { | |
var requestBody = request.body; | |
var requestData = requestBody.data; // variable holds JSON data | |
var eventType = request.getHeader('x-ciq-event'); | |
// Answer 200 to CloudIQ Webhook test button | |
if (eventType === 'ping') { | |
response.setStatus(200); | |
} else if (eventType === 'health-score-change') { | |
var processedData = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## <summary></summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: event-exporter-cfg | |
namespace: {{ .Release.Namespace }} | |
data: | |
config.yaml.erb: | | |
route: | |
match: | |
- receiver: "dump" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ if eq .Values.tag "latest"}} | |
apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
name: todosdb{{ .Values.tag }} | |
namespace: {{ .Values.ns }} | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
volumeMode: Filesystem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spec: | |
template: | |
spec: | |
initContainers: | |
- name: config | |
image: "ruby:2.7" | |
command: ['sh', '-c', 'erb /tmpl/entrypoint.sh.erb > /custom/entrypoint.sh && chmod +x /custom/entrypoint.sh'] | |
volumeMounts: | |
- name: cfgtmpl | |
mountPath: /tmpl |