View gh_explore.rb
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 = [] |
View 10-frontend.network
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 |
View ciq_webhook.js
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; |
View vxflexos-cni.if
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> |
View configmap.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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: event-exporter-cfg | |
namespace: {{ .Release.Namespace }} | |
data: | |
config.yaml.erb: | | |
route: | |
match: | |
- receiver: "dump" |
View pvc.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
{{ if eq .Values.tag "latest"}} | |
apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
name: todosdb{{ .Values.tag }} | |
namespace: {{ .Values.ns }} | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
volumeMode: Filesystem |
View isilon-ds.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
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 |