Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kubernetes
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Frank Berghaus
kubernetes
Commits
3cc38490
Commit
3cc38490
authored
Mar 13, 2023
by
Frank Berghaus
Browse files
Options
Downloads
Patches
Plain Diff
Create directory before untar'ing into it
parent
5a24d155
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
mom-template.yaml
+3
-2
3 additions, 2 deletions
mom-template.yaml
with
3 additions
and
2 deletions
mom-template.yaml
+
3
−
2
View file @
3cc38490
...
@@ -299,7 +299,7 @@ resources:
...
@@ -299,7 +299,7 @@ resources:
sed "s/server: https:.*/server: https:\/\/$CONTROLPLANE_IP:6443/" /etc/kubernetes/admin.conf > /root/externaladmin.conf
sed "s/server: https:.*/server: https:\/\/$CONTROLPLANE_IP:6443/" /etc/kubernetes/admin.conf > /root/externaladmin.conf
echo "export KUBECONFIG=/etc/kubernetes/admin.conf" >> /root/.bashrc
echo "export KUBECONFIG=/etc/kubernetes/admin.conf" >> /root/.bashrc
export KUBECONFIG=/etc/kubernetes/admin.conf
export KUBECONFIG=/etc/kubernetes/admin.conf
curl https://raw.githubusercontent.com/projectcalico/calico/v3.25.0/manifests/calico-vxlan.yaml \
curl
-s
https://raw.githubusercontent.com/projectcalico/calico/v3.25.0/manifests/calico-vxlan.yaml \
| sed 's/CrossSubnet/Always/' \
| sed 's/CrossSubnet/Always/' \
| kubectl apply -f -
| kubectl apply -f -
...
@@ -329,7 +329,8 @@ resources:
...
@@ -329,7 +329,8 @@ resources:
availability: nova
availability: nova
EOF
EOF
curl --location 'https://github.com/kubernetes/cloud-provider-openstack/archive/refs/tags/v1.25.3.tar.gz' \
mkdir -p /tmp/cloud-provider-openstack
curl -sL 'https://github.com/kubernetes/cloud-provider-openstack/archive/refs/tags/v1.25.3.tar.gz' \
| tar zxv --strip-components=1 -C /tmp/cloud-provider-openstack
| tar zxv --strip-components=1 -C /tmp/cloud-provider-openstack
rm /tmp/cloud-provider-openstack/manifests/cinder-csi-plugin/csi-secret-cinderplugin.yaml
rm /tmp/cloud-provider-openstack/manifests/cinder-csi-plugin/csi-secret-cinderplugin.yaml
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment