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
| <urlset | |
| xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" | |
| xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" | |
| xmlns:xhtml="http://www.w3.org/1999/xhtml" | |
| xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" | |
| xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"> | |
| <url> | |
| <loc>https://www.okteto.com/docs/archives/</loc> | |
| <changefreq>weekly</changefreq> | |
| <priority>0.5</priority> |
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
| deploy: | |
| - name: is preview environment? | |
| command: | | |
| # okteto inserts the preview.okteto.com label only on preview environments | |
| kubectl get namespace $OKTETO_NAMESPACE -o jsonpath='{.metadata.labels}' | grep -q "preview.okteto.com" | |
| exit_code=$? | |
| # we add the PREVIEW_ENVIRONMENT variable to the OKTETO_ENV so it can be used in the rest of the deploy commands | |
| if [ $exit_code -eq 0 ]; then | |
| echo "ENVIRONMENT_TYPE=preview" >> $OKTETO_ENV |
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: apiextensions.k8s.io/v1 | |
| kind: CustomResourceDefinition | |
| metadata: | |
| name: certificaterequests.cert-manager.io | |
| annotations: | |
| cert-manager.io/inject-ca-from-secret: 'okteto/cert-manager-webhook-ca' | |
| labels: | |
| app: 'cert-manager' | |
| app.kubernetes.io/name: 'cert-manager' | |
| app.kubernetes.io/instance: 'cert-manager' |
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: policy/v1beta1 | |
| kind: PodSecurityPolicy | |
| metadata: | |
| name: octane | |
| spec: | |
| allowPrivilegeEscalation: true | |
| allowedCapabilities: | |
| - '*' | |
| defaultAllowPrivilegeEscalation: true | |
| fsGroup: |
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
| package main | |
| import ( | |
| "io" | |
| "net/http" | |
| "os" | |
| "github.com/cheggaaa/pb/v3" | |
| ) |
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
| git branch | grep -v 'master\|main' > /tmp/merged-branches && vi /tmp/merged-branches && xargs git branch -D </tmp/merged-branches |
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
| git branch | grep -v master | xargs -n1 git branch -D |
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: client-mysql | |
| image: mysql | |
| command: | |
| - sh | |
| forward: | |
| - 3306:mysql:3306 | |
| resources: | |
| limits: | |
| memory: 128Mi | |
| cpu: 200m |
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
| namespace=$1 | |
| kubectl get namespace $namespace -ojson | jq 'del(.spec.finalizers[0])' | kubectl replace --raw "/api/v1/namespaces/$namespace/finalize" -f=- |
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
| module forward | |
| go 1.14 | |
| require ( | |
| github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 // indirect | |
| github.com/gliderlabs/ssh v0.3.0 | |
| golang.org/x/crypto v0.0.0-20200406173513-056763e48d71 | |
| ) |
NewerOlder