This file contains hidden or 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
#!/usr/bin/env python | |
""" | |
Git commit hook: | |
.git/hooks/commit-msg | |
Check commit message according to guidelines | |
""" | |
import sys | |
import re |
This file contains hidden or 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
const fs = require('fs') | |
const path = require('path') | |
try { | |
fs.unlinkSync(path.join(__dirname, 'local.json')) | |
} catch (err) {} | |
const AWS = require('aws-sdk') | |
AWS.config.update({ region: 'us-east-1' }) | |
const ssm = new AWS.SSM() | |
var serviceName = require('../package.json').name |
This file contains hidden or 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
{ | |
"name": "GitHub Octocat Generator", | |
"description": "Generate 1337 Octocats", | |
"repository": { | |
"type": "git", | |
"url": "https://github.com/datree/io.git" | |
}, | |
"dependencies": { | |
"async": "latest", | |
"bower": "latest", |
This file contains hidden or 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: Pod | |
metadata: | |
name: Octocat-service | |
labels: | |
purpose: Generate Octocats | |
spec: | |
containers: | |
- name: octocat-generator-container | |
image: docker.pkg.github.com/ubuntu:latest |
This file contains hidden or 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
kind: Service | |
apiVersion: v1 | |
metadata : | |
name: my—service | |
spec: | |
selector: | |
app: MyApp | |
ports : | |
— protocol: TCP | |
port: 80 |
This file contains hidden or 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: vl | |
kind: Service | |
metadata : | |
name: <my—nodeport—service> | |
labels: | |
<my-label-key>: <my-label-value> | |
spec : | |
selector: | |
<my-selector-key>: <my-selector-value> | |
type: NodePort // <-- This sets the "type" |
This file contains hidden or 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
livenessprobe: | |
httpGet: | |
path: /healthz | |
port: 8080 | |
initialDetaySeconds: 3 | |
periodSeconds: 3 |
This file contains hidden or 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
resources: | |
requests: | |
memory: "64Mi" | |
cpu: "250m" | |
limits: | |
memory: "128Mi" | |
cpu: "500m" |
This file contains hidden or 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: Pod | |
metadata: | |
labels: | |
test: liveness | |
name: liveness—http | |
spec: | |
containers: | |
— name: liveness | |
image: some-random-image:v1.0 |
This file contains hidden or 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: networking.k8s.io/v1 | |
kind: networkPolicy |
OlderNewer