-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
20b5fa1
commit d4e499b
Showing
13 changed files
with
168 additions
and
736 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Pr Tests | ||
on: | ||
push: | ||
branches: | ||
- cdev-ignore | ||
|
||
jobs: | ||
tests: | ||
name: Build and run tests | ||
runs-on: ubuntu-latest | ||
container: golang:1.21.3-alpine | ||
steps: | ||
- name: Code checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Build image | ||
run: | | ||
set -x | ||
ls -la | ||
docker ps |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package types | ||
|
||
type ExecNestedSchema struct { | ||
APIVersion string `yaml:"api_version,omitempty" json:"api_version,omitempty"` | ||
Args []string `yaml:"args,omitempty" json:"args,omitempty"` | ||
Command string `yaml:"command,omitempty" json:"command,omitempty"` | ||
Env map[string]string `yaml:"env,omitempty" json:"env,omitempty"` | ||
} | ||
|
||
type ProviderConfigSpec struct { | ||
ConfigPath string `yaml:"config_path,omitempty" json:"config_path,omitempty"` | ||
ConfigPaths []string `yaml:"config_paths,omitempty" json:"config_paths,omitempty"` | ||
ClientCertificate string `yaml:"client_certificate,omitempty" json:"client_certificate,omitempty"` | ||
ClientKey string `yaml:"client_key,omitempty" json:"client_key,omitempty"` | ||
ClusterCaCertificate string `yaml:"cluster_ca_certificate,omitempty" json:"cluster_ca_certificate,omitempty"` | ||
ConfigContext string `yaml:"config_context,omitempty" json:"config_context,omitempty"` | ||
ConfigContextCluster string `yaml:"config_context_cluster,omitempty" json:"config_context_cluster,omitempty"` | ||
ConfigContextUser string `yaml:"config_context_user,omitempty" json:"config_context_user,omitempty"` | ||
ConfigContextAuthInfo string `yaml:"config_context_auth_info,omitempty" json:"config_context_auth_info,omitempty"` | ||
ProxyURL string `yaml:"proxy_url,omitempty" json:"proxy_url,omitempty"` | ||
Exec *ExecNestedSchema `yaml:"exec,omitempty" json:"exec,omitempty"` | ||
Host string `yaml:"host,omitempty" json:"host,omitempty"` | ||
Insecure string `yaml:"insecure,omitempty" json:"insecure,omitempty"` | ||
Password string `yaml:"password,omitempty" json:"password,omitempty"` | ||
Token string `yaml:"token,omitempty" json:"token,omitempty"` | ||
Username string `yaml:"username,omitempty" json:"username,omitempty"` | ||
IgnoreAnnotations string `yaml:"ignore_annotations,omitempty" json:"ignore_annotations,omitempty"` | ||
IgnoreLabels string `yaml:"ignore_labels,omitempty" json:"ignore_labels,omitempty"` | ||
TlsServerName string `yaml:"tls_server_name,omitempty" json:"tls_server_name,omitempty"` | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
deployment.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: nginx-deployment | ||
labels: | ||
app: nginx | ||
spec: | ||
replicas: 3 | ||
selector: | ||
matchLabels: | ||
app: nginx | ||
template: | ||
metadata: | ||
labels: | ||
app: nginx | ||
spec: | ||
containers: | ||
- name: nginx | ||
image: nginx:1.14.2 | ||
ports: | ||
- containerPort: 80 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
_p: &provider_aws | ||
- aws: | ||
region: {{ .variables.region }} | ||
|
||
name: local-template | ||
kind: StackTemplate | ||
cliVersion: "~>0.9.2" | ||
units: | ||
- | ||
name: consul | ||
type: helm | ||
source: | ||
repository: "https://charts.bitnami.com/bitnami" | ||
chart: "consul" | ||
version: "10.9.12" | ||
kubeconfig: /home/kk | ||
provider_conf: | ||
config_path: /home/user/.kube/config | ||
cluster_ca_certificate: | | ||
asdasd | ||
asd | ||
asd | ||
asdasdasd | ||
additional_options: | ||
namespace: default | ||
create_namespace: true | ||
values: | ||
- file: ./values/consul.yaml | ||
- | ||
name: cert-manager-issuer | ||
type: kubernetes | ||
source: ./deployment.yaml | ||
provider_conf: | ||
config_paths: | ||
- ./deployment.yaml | ||
host: k8s.example.com | ||
username: "user" | ||
password: "secretPassword" | ||
- | ||
name: outputs | ||
type: printer | ||
outputs: | ||
new_output: "test2" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
kind: deployment |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: dev | ||
kind: Project | ||
backend: default | ||
variables: | ||
organization: cluster-dev | ||
exports: | ||
CDEV_COLLECT_USAGE_STATS: "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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: kube-helm | ||
template: ./kube-helm/ | ||
kind: Stack | ||
disabled: false | ||
backend: default | ||
variables: {} | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.