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: consul.hashicorp.com/v1alpha1 | |
kind: ServiceDefaults | |
metadata: | |
name: bender | |
namespace: abc | |
spec: | |
protocol: http | |
--- | |
apiVersion: v1 |
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
kind: Cluster | |
apiVersion: kind.x-k8s.io/v1alpha4 | |
name: basic | |
nodes: | |
- role: control-plane | |
image: kindest/node:v1.25.3 | |
- role: worker | |
image: kindest/node:v1.25.3 |
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
# Contains values that affect multiple components of the chart. | |
global: | |
imageK8S: hashicorp/consul-k8s-control-plane:1.3 | |
image: hashicorp/consul-enterprise:1.18-ent | |
logLevel: debug | |
tls: | |
enabled: true | |
acls: | |
manageSystemACLs: true | |
enterpriseLicense: |
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: consul.hashicorp.com/v1alpha1 | |
kind: ServiceDefaults | |
metadata: | |
name: bender | |
namespace: default | |
spec: | |
protocol: http | |
--- | |
apiVersion: v1 |
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: consul.hashicorp.com/v1alpha1 | |
kind: ServiceDefaults | |
metadata: | |
name: bender | |
namespace: default | |
spec: | |
protocol: http | |
--- | |
apiVersion: v1 |
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
kind: Cluster | |
apiVersion: kind.x-k8s.io/v1alpha4 | |
name: basic | |
nodes: | |
- role: control-plane | |
image: kindest/node:v1.25.3 | |
- role: worker | |
image: kindest/node:v1.25.3 |
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 math | |
from dataclasses import dataclass | |
from typing import Any, List, Optional # noqa | |
import ipdb # type: ignore | |
class Solution: | |
functions = { | |
"+": (lambda x, y: x + y), |
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
#! /usr/bin/zsh | |
dir=$1 | |
sess=grind3 | |
mkdir ./$sess/$dir | |
cd ./$sess/$dir | |
touch __init__.py | |
touch main.py | |
echo 'from dataclasses import dataclass |
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
from __future__ import annotations | |
from collections import defaultdict, deque | |
from dataclasses import dataclass | |
from typing import Any, Dict, List, Optional, Set # noqa | |
import ipdb # type: ignore | |
class Node: |
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 | |
data: | |
token: NjFmNjlhMjctMDI4ZC1hZDc2LWU0ZTUtYjUzODMzNGNhZjNl | |
kind: Secret | |
metadata: | |
labels: | |
managed-by: consul-k8s | |
name: nsbug-apigw-consul-bootstrap-acl-token | |
namespace: consul | |
type: Opaque |
NewerOlder