Skip to content

Commit

Permalink
delete cluster id env
Browse files Browse the repository at this point in the history
Signed-off-by: yy <[email protected]>
  • Loading branch information
lingdie committed Nov 7, 2023
1 parent 751b0ee commit a06549e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion controllers/license/deploy/Kubefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ COPY registry registry
COPY manifests manifests

ENV MONGO_URI="mongodb://mongo:27017/resources"
ENV CLUSTER_ID=""

CMD ["kubectl apply -f manifests"]
5 changes: 0 additions & 5 deletions controllers/license/deploy/manifests/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,6 @@ spec:
secretKeyRef:
key: MONGO_URI
name: license-secret
- name: CLUSTER_ID
valueFrom:
secretKeyRef:
key: CLUSTER_ID
name: license-secret
image: ghcr.io/labring/sealos-license-controller:latest
livenessProbe:
httpGet:
Expand Down
3 changes: 1 addition & 2 deletions controllers/license/deploy/manifests/secret.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ metadata:
name: license-secret
namespace: license-system
stringData:
MONGO_URI: "{{ .MONGO_URI }}"
CLUSTER_ID: "{{ .CLUSTER_ID }}"
MONGO_URI: "{{ .MONGO_URI }}"

0 comments on commit a06549e

Please sign in to comment.