Skip to content

Commit

Permalink
Update Goscaleio version (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
doriac11 authored Aug 22, 2024
1 parent 13bcfb4 commit 28b9e53
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 157 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/terraform-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,20 @@ jobs:
uses: actions/checkout@v3
- name: Run Go Security
uses: securego/gosec@master

generate:
runs-on: ubuntu-latest
name: Generate
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/checkout@v3
- run: go generate
- name: git diff
run: |
git diff --compact-summary --exit-code || \
(echo; echo "Unexpected difference in directories after code generation. Run 'go generate ./...' command and commit."; exit 1)
# Commenting out since the github.com/hashicorp/terraform-plugin-docs v0.19.4 has a vulnerablity
# generate:
# runs-on: ubuntu-latest
# name: Generate
# steps:
# - uses: actions/setup-go@v3
# with:
# go-version: ${{ env.GO_VERSION }}
# - uses: actions/checkout@v3
# - run: go generate
# - name: git diff
# run: |
# git diff --compact-summary --exit-code || \
# (echo; echo "Unexpected difference in directories after code generation. Run 'go generate ./...' command and commit."; exit 1)
malware_security_scan:
name: Malware Scanner
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ testacc:
TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 120m

generate:
go generate ./...
# do nothing for now because of vulnerablitity
# go generate ./...

cover:
rm -f coverage.*
Expand Down
20 changes: 0 additions & 20 deletions docs/resources/compatibility_management.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,6 @@ description: |-

This resource is used to set the compatibility management from the PowerFlex array.

**Please consider the following points before using cluster resource.**

1. For PowerFlex 4.x, the PowerFlex Manager must be installed as a prerequisite. The required packages should be uploaded to the PowerFlex Manager.

2. For PowerFlex 3.x, a Gateway server is a prerequisite. The required packages should be uploaded to the gateway. The Package resource can be used for uploading packages to the gateway.

3. Support is provided for creating, importing, and deleting operations for this resource.

4. In multi-node cluster deployments, when some of the component installations fail, the partial deployment will not be rolled back.

5. If you've separately installed any SDR, SDS, or SDC and connected it to the cluster and if you face any security certificate issues during the destroy process, you'll have to manually accept the security certificate to resolve them.

6. During the destroy process, the entire cluster will be destroyed, not just specific individual resources. After destroy need to follow cleanup process.

7. `ips` attribute is used in minimal csv configuration whereas `mdm_ips` attribute is used in complete csv configuration.

8. For PowerFlex 4.x, there's no need to mention `allow_non_secure_communication_with_lia`, `allow_non_secure_communication_with_mdm`, and `disable_non_mgmt_components_auth`. And, **Rfcache** is not supported.

9. To follow the installation process, you can refer to the [Deployment Guide 3.x](https://www.dell.com/support/manuals/en-us/scaleio/pfx_deploy_guide_3.6.x/deploy-powerflex?guid=guid-e9f70972-baac-42c9-9ff9-a3d2b0722f54&lang=en-us) & [Deployment Guide 4.x](https://www.dell.com/support/manuals/en-us/scaleio/powerflex_install_upgrade_guide_4.5.x/introduction?guid=guid-e798f431-7df4-450c-8f86-60ee7f3d1e3e&lang=en-us)

## Example Usage

```terraform
Expand Down
40 changes: 13 additions & 27 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@ go 1.22
require (
github.com/bramvdbogaerde/go-scp v1.5.0
github.com/bytedance/mockey v1.2.10
// Updating to a commit version temporarily until the next goscaleio release
github.com/dell/goscaleio v1.15.1-0.20240731163309-fc34c462e859
github.com/hashicorp/terraform-plugin-docs v0.19.4
github.com/dell/goscaleio v1.16.0
// Had to comment this out, the user will need to uncomment when they want to generate the docs
// Also uncomment this line in tools.go _ "github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs"
// This is only used to generate the documentation and it includes a dependecy which has a security risk which has no fix version as of 8/22/2024
//github.com/hashicorp/terraform-plugin-docs v0.19.4
github.com/hashicorp/terraform-plugin-framework v1.11.0
github.com/hashicorp/terraform-plugin-framework-validators v0.13.0
github.com/hashicorp/terraform-plugin-go v0.23.0
github.com/hashicorp/terraform-plugin-log v0.9.0
github.com/hashicorp/terraform-plugin-testing v1.9.0
github.com/hashicorp/terraform-plugin-testing v1.10.0
github.com/masterzen/winrm v0.0.0-20240702205601-3fad6e106085
github.com/packer-community/winrmcp v0.0.0-20221126162354-6e900dd2c68f
github.com/stretchr/testify v1.9.0
Expand All @@ -21,12 +23,9 @@ require (

require (
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect
github.com/BurntSushi/toml v1.2.1 // indirect
github.com/ChrisTrenkamp/goxpath v0.0.0-20210404020558-97928f7e12b6 // indirect
github.com/Kunde21/markdownfmt/v3 v3.1.0 // indirect
github.com/ProtonMail/go-crypto v1.1.0-alpha.2 // indirect
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
github.com/bmatcuk/doublestar/v4 v4.6.1 // indirect
github.com/bodgit/ntlmssp v0.0.0-20240506230425-31973bb52d9b // indirect
github.com/bodgit/windows v1.0.1 // indirect
github.com/cloudflare/circl v1.3.7 // indirect
Expand All @@ -35,22 +34,21 @@ require (
github.com/go-logr/logr v1.4.1 // indirect
github.com/gofrs/uuid v4.4.0+incompatible // indirect
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 // indirect
github.com/hashicorp/cli v1.1.6 // indirect
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
github.com/hashicorp/logutils v1.0.0 // indirect
github.com/hashicorp/terraform-exec v0.21.0 // indirect
github.com/hashicorp/terraform-json v0.22.1 // indirect
github.com/hashicorp/terraform-plugin-sdk/v2 v2.34.0 // indirect
github.com/hashicorp/terraform-registry-address v0.2.3 // indirect
github.com/huandu/xstrings v1.3.3 // indirect
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
github.com/jcmturner/gofork v1.7.6 // indirect
github.com/jcmturner/goidentity/v6 v6.0.1 // indirect
github.com/jcmturner/gokrb5/v8 v8.4.4 // indirect
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
github.com/jtolds/gls v4.20.0+incompatible // indirect
github.com/kr/pretty v0.3.0 // indirect
github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786 // indirect
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d // indirect
Expand All @@ -59,27 +57,17 @@ require (
github.com/tidwall/transform v0.0.0-20201103190739-32f242e2dbde // indirect
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/yuin/goldmark v1.7.1 // indirect
github.com/yuin/goldmark-meta v1.1.0 // indirect
go.abhg.dev/goldmark/frontmatter v0.2.0 // indirect
golang.org/x/arch v0.0.0-20201008161808-52c3e6f60cff // indirect
golang.org/x/exp v0.0.0-20230809150735-7b3493d9a819 // indirect
golang.org/x/mod v0.17.0 // indirect
golang.org/x/mod v0.19.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v2 v2.3.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

require (
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/Masterminds/semver/v3 v3.2.0 // indirect
github.com/Masterminds/sprig/v3 v3.2.3 // indirect
github.com/agext/levenshtein v1.2.2 // indirect; indirect731c8425c7bcc68c4c793d0d053ec452ba2b5bb3
github.com/armon/go-radix v1.0.0 // indirect
github.com/bgentry/speakeasy v0.1.0 // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/go-cmp v0.6.0 // indirect
Expand All @@ -93,11 +81,10 @@ require (
github.com/hashicorp/go-plugin v1.6.0 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
github.com/hashicorp/go-version v1.7.0 // indirect
github.com/hashicorp/hc-install v0.7.0 // indirect
github.com/hashicorp/hc-install v0.8.0 // indirect
github.com/hashicorp/hcl/v2 v2.21.0 // indirect
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
github.com/hashicorp/yamux v0.1.1 // indirect
github.com/imdario/mergo v0.3.15 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
Expand All @@ -106,16 +93,15 @@ require (
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/oklog/run v1.0.0 // indirect
github.com/posener/complete v1.2.3 // indirect
github.com/shopspring/decimal v1.3.1 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/spf13/cast v1.5.0 // indirect
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
github.com/zclconf/go-cty v1.14.4 // indirect
github.com/zclconf/go-cty v1.15.0 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.23.0 // indirect
golang.org/x/text v0.17.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/grpc v1.63.2 // indirect
google.golang.org/protobuf v1.34.0 // indirect
)

exclude gopkg.in/yaml.v2 v2.2.2
Loading

0 comments on commit 28b9e53

Please sign in to comment.