- Fix kubernetes config for flex pod on voltha-2.8 branch
- Fix deployment config for flex pod on voltha-2.8 branch
Change-Id: I0245c55d6285547ad82a3a8ced77a8e247005c9e
diff --git a/kubernetes-configs/flex-ocp-cord-voltha-master.conf b/kubernetes-configs/flex-ocp-cord-voltha-master.conf
index 434be54..f548642 100644
--- a/kubernetes-configs/flex-ocp-cord-voltha-master.conf
+++ b/kubernetes-configs/flex-ocp-cord-voltha-master.conf
@@ -1,19 +1,39 @@
apiVersion: v1
kind: Config
-current-context: admin-cluster.local
-preferences: {}
clusters:
-- cluster:
- certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMrVENDQWVHZ0F3SUJBZ0lKQUpGaWMweklPWERhTUEwR0NTcUdTSWIzRFFFQkN3VUFNQkl4RURBT0JnTlYKQkFNTUIydDFZbVV0WTJFd0lCY05NVGt3TWpJeU1qRXhNalEyV2hnUE1qRXhPVEF4TWpreU1URXlORFphTUJJeApFREFPQmdOVkJBTU1CMnQxWW1VdFkyRXdnZ0VpTUEwR0NTcUdTSWIzRFFFQkFRVUFBNElCRHdBd2dnRUtBb0lCCkFRQzJwTEh4dityUm9qWm9Rc0x4blZFbkxtV2VPV3puY01Zb3h0bmlrTEdxTnlZNjJsQnpzYm1JQitucndGTVkKRTJEaTg0dXRkSlNrdTBFaHUyVXJ4ak02aGZ6K0RnTjdFaGlySzhuL3pGV0J3K0pzdkRXUUM5aXVPVEVMbTZPMQp0VGpyMXVKMlZMb0Q0THhhMEoydXNIU2ZUanpXeFZ3a1dNL0NUc205RjJNTEhqL2g1QzlOK3I0Y0JXanJVWmZ0CmlQNjlLQ2g0RFNpYVF1MkdIb0FSNjgwVUpoTld4YmZaQUVjNHZnQU5WZ0t2M2ZwU1FGL0xKZUFIRkFxUFFlSFUKZWdQbWczM0g3eUphNTNJeThEaVpvWGFJamFobFdPQkY4RWovSU1wZFZZcE0zT1NGWGc2aFYvd0R6NFVMSkYzdwpVZUxrRFQ2UVd1Z2JqQzM2V1ZmRmZjL0pBZ01CQUFHalVEQk9NQjBHQTFVZERnUVdCQlQxZDhSTlAyUnArSEdOCk94bHVPenNhUWFEbXREQWZCZ05WSFNNRUdEQVdnQlQxZDhSTlAyUnArSEdOT3hsdU96c2FRYURtdERBTUJnTlYKSFJNRUJUQURBUUgvTUEwR0NTcUdTSWIzRFFFQkN3VUFBNElCQVFCL1lwTVBFdStpSzFpeXZaK01kdmU1N3RxSQpLRi9CWlF3TlZDRGxmYjFkeEI0ZVFjdys1WWRxL1Y4QWxtY1dFbkVUQnkwSEZjOXhmUmp2UzRZaXludXEvUkR4CmIwTzg3L3BOODRwcUNJUjBRYTFZcXRKQzh3TU5ESnA3bWoyYUc1aUx6YUZkU2JsWW5EdjBya2xNMHBBbFNsRm0KZjVPMmM5VXd4ejFaM3J6UVA5T09OZm5iSmtvYW1VUnp2cUNqN0NJRTZaM1RHeEEvUldFZHJTOHZLV2hFUzJZVgorV25QeHg2S3VRaGJES044N2xHVmlDblpNQXNRL1NrRWdXRWxzcmdCc0cvOUdLQlFraGIxUnJyTzM4OE5BVVdPCks3V0JIV3N2R0xsWC84QUFCbHdwWmNuRXFtQmd3Z2NQVmZYNmZ2aHZrQnZ3SU5jMkhmU01Oa3Blb3pyZQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
- server: https://10.192.20.45:6443
- name: cluster.local
-contexts:
-- context:
- cluster: cluster.local
- user: admin-cluster.local
- name: admin-cluster.local
+- name: "voltha-flex-pod"
+ cluster:
+ server: "https://10.93.1.10:6443"
+ certificate-authority-data: "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUN3akNDQ\
+ WFxZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFTTVJBd0RnWURWUVFERXdkcmRXSmwKT\
+ FdOaE1CNFhEVEl4TVRBeE5ESXlNRGd3TkZvWERUTXhNVEF4TWpJeU1EZ3dORm93RWpFUU1BNEdBM\
+ VVF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
+ token: "kubeconfig-user-cvpsj.c-lvptp:cc8crmhkp62ch2xw9xth46bt6hzgzlzbxkfn2f6cj4m7jkjcwfnpv4"
+
+
+contexts:
+- name: "voltha-flex-pod"
+ context:
+ user: "voltha-flex-pod"
+ cluster: "voltha-flex-pod"
+
+current-context: "voltha-flex-pod"