Skip to content

Commit

Permalink
#30-milestone3: update k8s config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayakasg18 committed Apr 6, 2022
1 parent 634b439 commit e1ce505
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 34 deletions.
36 changes: 2 additions & 34 deletions deployment_scripts/concourse_cd/data_source_api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,42 +43,10 @@ jobs:
config:
run:
path: cp
args: ["deployment_scripts/k8s/config", "/tmp/"]
args: ["../k8s/config", "/tmp/"]
- put: k8s
params:
context: minikube
kubeconfig: |
apiVersion: v1
clusters:
- cluster:
certificate-authority: /home/exouser/.minikube/ca.crt
extensions:
- extension:
last-update: Tue, 05 Apr 2022 19:36:51 UTC
provider: minikube.sigs.k8s.io
version: v1.25.2
name: cluster_info
server: https://192.168.49.2:8443
name: minikube
contexts:
- context:
cluster: minikube
extensions:
- extension:
last-update: Tue, 05 Apr 2022 19:36:51 UTC
provider: minikube.sigs.k8s.io
version: v1.25.2
name: context_info
namespace: default
user: minikube
name: minikube
current-context: minikube
kind: Config
preferences: {}
users:
- name: minikube
user:
client-certificate: /home/exouser/.minikube/profiles/minikube/client.crt
client-key: /home/exouser/.minikube/profiles/minikube/client.key
kubeconfig_file: /tmp/config
kubectl: delete pods -l app=datasource
wait_until_ready: 300
32 changes: 32 additions & 0 deletions deployment_scripts/k8s/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
apiVersion: v1
clusters:
- cluster:
certificate-authority: /home/exouser/.minikube/ca.crt
extensions:
- extension:
last-update: Tue, 05 Apr 2022 19:36:51 UTC
provider: minikube.sigs.k8s.io
version: v1.25.2
name: cluster_info
server: https://192.168.49.2:8443
name: minikube
contexts:
- context:
cluster: minikube
extensions:
- extension:
last-update: Tue, 05 Apr 2022 19:36:51 UTC
provider: minikube.sigs.k8s.io
version: v1.25.2
name: context_info
namespace: default
user: minikube
name: minikube
current-context: minikube
kind: Config
preferences: {}
users:
- name: minikube
user:
client-certificate: /home/exouser/.minikube/profiles/minikube/client.crt
client-key: /home/exouser/.minikube/profiles/minikube/client.key

0 comments on commit e1ce505

Please sign in to comment.